diff options
author | Jeremy Allison <jra@samba.org> | 2012-04-12 15:04:42 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-04-12 15:06:59 -0700 |
commit | d399af30c183663f487bf4d086ec4377f84725b0 (patch) | |
tree | 1daed0cc457c641a60a1d8b20baf32e563e56907 /source3/smbd/proto.h | |
parent | fd3848636498fa357ff0085a126e374a3e91d14b (diff) | |
download | samba-d399af30c183663f487bf4d086ec4377f84725b0.tar.gz samba-d399af30c183663f487bf4d086ec4377f84725b0.tar.bz2 samba-d399af30c183663f487bf4d086ec4377f84725b0.zip |
Remove cancel_aio_by_fsp(). It can never work and could lead to memory corruption
as outstanding IO's complete. Also we never have any aio's on a call to close_normal_file()
with close_type ERROR_CLOSE.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index f2040cdbac..a770c3a2a4 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -89,7 +89,6 @@ NTSTATUS schedule_aio_smb2_write(connection_struct *conn, bool write_through); bool cancel_smb2_aio(struct smb_request *smbreq); int wait_for_aio_completion(files_struct *fsp); -void cancel_aio_by_fsp(files_struct *fsp); void smbd_aio_complete_aio_ex(struct aio_extra *aio_ex); /* The following definitions come from smbd/blocking.c */ |