summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 "