From c9924ebccd4953bc61ebcce9187a54c48ec67962 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 20 Jun 2013 18:27:39 +0200 Subject: [PATCH] s3:smbd/aio mark file as modified in the SMB2 case Signed-off-by: Christian Ambach Reviewed-by: Volker Lendecke --- source3/smbd/aio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index e8be408eaa1..24a822e3fd8 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 " -- 2.11.4.GIT