summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-11-20 14:24:13 +0100
committerChristian Ambach <ambi@samba.org>2012-11-20 21:02:34 +0100
commitd6983f470410b0befc02e43580d9b9d74d8f5d23 (patch)
treec497bc4ef8ba046f15f6f19697230c8d96df2fde /source3/smbd
parent611675fb37b5745bd2ff81bfa5739c050b15e9a7 (diff)
downloadsamba-d6983f470410b0befc02e43580d9b9d74d8f5d23.tar.gz
samba-d6983f470410b0befc02e43580d9b9d74d8f5d23.tar.bz2
samba-d6983f470410b0befc02e43580d9b9d74d8f5d23.zip
s3:smbd/aio do not mark file modified during reads
this causes each file that is potentially just opened for reading to be marked as modified and lots of file change notifications will be send Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Tue Nov 20 21:02:34 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/aio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 3b12879798..3f553ebcfb 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -791,8 +791,6 @@ static void aio_pread_smb2_done(struct tevent_req *req)
/* Unlock now we're done. */
SMB_VFS_STRICT_UNLOCK(fsp->conn, fsp, &aio_ex->lock);
- mark_file_modified(fsp);
-
/* Common error or success code processing for async or sync
read returns. */