diff options
author | Volker Lendecke <vl@samba.org> | 2012-07-09 21:33:57 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-07-18 15:45:58 -0700 |
commit | 9dc78c90f3c952f5c01686da6601c47565016290 (patch) | |
tree | 3ebed9d5dad6fe56d29a51c669abc4b5b02caf00 /source3/smbd/vfs.c | |
parent | be05dad399b7e549997acc79add85f5dbbc3d7b7 (diff) | |
download | samba-9dc78c90f3c952f5c01686da6601c47565016290.tar.gz samba-9dc78c90f3c952f5c01686da6601c47565016290.tar.xz samba-9dc78c90f3c952f5c01686da6601c47565016290.zip |
s3-aio: Remove unused VFS functions and more
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 0414332073f..48d74cd17a6 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -2369,60 +2369,6 @@ int smb_vfs_call_fsetxattr(struct vfs_handle_struct *handle, return handle->fns->fsetxattr_fn(handle, fsp, name, value, size, flags); } -int smb_vfs_call_aio_read(struct vfs_handle_struct *handle, - struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) -{ - VFS_FIND(aio_read); - return handle->fns->aio_read_fn(handle, fsp, aiocb); -} - -int smb_vfs_call_aio_write(struct vfs_handle_struct *handle, - struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) -{ - VFS_FIND(aio_write); - return handle->fns->aio_write_fn(handle, fsp, aiocb); -} - -ssize_t smb_vfs_call_aio_return(struct vfs_handle_struct *handle, - struct files_struct *fsp, - SMB_STRUCT_AIOCB *aiocb) -{ - VFS_FIND(aio_return); - return handle->fns->aio_return_fn(handle, fsp, aiocb); -} - -int smb_vfs_call_aio_cancel(struct vfs_handle_struct *handle, - struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) -{ - VFS_FIND(aio_cancel); - return handle->fns->aio_cancel_fn(handle, fsp, aiocb); -} - -int smb_vfs_call_aio_error(struct vfs_handle_struct *handle, - struct files_struct *fsp, - SMB_STRUCT_AIOCB *aiocb) -{ - VFS_FIND(aio_error); - return handle->fns->aio_error_fn(handle, fsp, aiocb); -} - -int smb_vfs_call_aio_fsync(struct vfs_handle_struct *handle, - struct files_struct *fsp, int op, - SMB_STRUCT_AIOCB *aiocb) -{ - VFS_FIND(aio_fsync); - return handle->fns->aio_fsync_fn(handle, fsp, op, aiocb); -} - -int smb_vfs_call_aio_suspend(struct vfs_handle_struct *handle, - struct files_struct *fsp, - const SMB_STRUCT_AIOCB * const aiocb[], int n, - const struct timespec *timeout) -{ - VFS_FIND(aio_suspend); - return handle->fns->aio_suspend_fn(handle, fsp, aiocb, n, timeout); -} - bool smb_vfs_call_aio_force(struct vfs_handle_struct *handle, struct files_struct *fsp) { |