diff options
author | Michael Adam <obnox@samba.org> | 2008-01-08 12:20:51 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-01-08 12:20:55 +0100 |
commit | 4a056e127ac35d640d899cd8a4735b927aa8d005 (patch) | |
tree | 5af90e9c2fd7c6dd265852a7166ab96c7c63ccca /source3/modules/vfs_default.c | |
parent | 67f2afe3c4cfd46aa20b7a7c568ac6b5ab16acb8 (diff) | |
download | samba-4a056e127ac35d640d899cd8a4735b927aa8d005.tar.gz samba-4a056e127ac35d640d899cd8a4735b927aa8d005.tar.bz2 samba-4a056e127ac35d640d899cd8a4735b927aa8d005.zip |
Remove redundant parameter fd from SMB_VFS_AIO_CANCEL().
Michael
(This used to be commit 3c997ae0002d4c50e8899600c17ddf74ac61f6f0)
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index 3abe1483bb..97138bdacf 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -1206,9 +1206,9 @@ static ssize_t vfswrap_aio_return(struct vfs_handle_struct *handle, struct files return sys_aio_return(aiocb); } -static int vfswrap_aio_cancel(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_STRUCT_AIOCB *aiocb) +static int vfswrap_aio_cancel(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) { - return sys_aio_cancel(fd, aiocb); + return sys_aio_cancel(fsp->fh->fd, aiocb); } static int vfswrap_aio_error(struct vfs_handle_struct *handle, struct files_struct *fsp, SMB_STRUCT_AIOCB *aiocb) |