summaryrefslogtreecommitdiff
path: root/source3/smbd/aio.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-01-08 12:20:51 +0100
committerMichael Adam <obnox@samba.org>2008-01-08 12:20:55 +0100
commit4a056e127ac35d640d899cd8a4735b927aa8d005 (patch)
tree5af90e9c2fd7c6dd265852a7166ab96c7c63ccca /source3/smbd/aio.c
parent67f2afe3c4cfd46aa20b7a7c568ac6b5ab16acb8 (diff)
downloadsamba-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/smbd/aio.c')
-rw-r--r--source3/smbd/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index bc1761b0fd..c8175f77ac 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -746,7 +746,7 @@ void cancel_aio_by_fsp(files_struct *fsp)
/* Don't delete the aio_extra record as we may have
completed and don't yet know it. Just do the
aio_cancel call and return. */
- SMB_VFS_AIO_CANCEL(fsp,fsp->fh->fd, &aio_ex->acb);
+ SMB_VFS_AIO_CANCEL(fsp, &aio_ex->acb);
aio_ex->fsp = NULL; /* fsp will be closed when we
* return. */
}