s3:smbd/aio mark file as modified in the SMB2 case
authorChristian Ambach <ambi@samba.org>
Thu, 20 Jun 2013 16:27:39 +0000 (18:27 +0200)
committerChristian Ambach <ambi@samba.org>
Tue, 25 Jun 2013 10:53:46 +0000 (12:53 +0200)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/aio.c

index e8be408eaa1279963b07ecc1264a736a0ab350ca..24a822e3fd89df7ce7178f66a400c910760bd7b7 100644 (file)
@@ -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 "