summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-06-20 18:27:39 +0200
committerChristian Ambach <ambi@samba.org>2013-06-25 12:53:46 +0200
commitc9924ebccd4953bc61ebcce9187a54c48ec67962 (patch)
tree14c1028720bb18362350ef6b7b4bbb22f5d7c5aa /source3/smbd
parente65c53226c21877e99879e4483d9b515dfe87672 (diff)
downloadsamba-c9924ebccd4953bc61ebcce9187a54c48ec67962.tar.gz
samba-c9924ebccd4953bc61ebcce9187a54c48ec67962.tar.bz2
samba-c9924ebccd4953bc61ebcce9187a54c48ec67962.zip
s3:smbd/aio mark file as modified in the SMB2 case
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/aio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index e8be408eaa..24a822e3fd 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -959,6 +959,8 @@ static void aio_pwrite_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);
+
status = smb2_write_complete_nosync(subreq, nwritten, err);
DEBUG(10, ("smb2: scheduled aio_write completed "