fill in reserved field on SMB2 flush
authorAndrew Tridgell <tridge@samba.org>
Mon, 26 May 2008 05:00:27 +0000 (15:00 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 26 May 2008 05:00:27 +0000 (15:00 +1000)
(This used to be commit 400a3b39d5c151cf43e307af2fa702208d7cd472)

source4/ntvfs/posix/pvfs_flush.c

index 61e73cedbaa79e6147eb1b25b1db821448790e37..6e09c1f34ae35afffd43fc53436ca4d25b305a33 100644 (file)
@@ -54,6 +54,7 @@ NTSTATUS pvfs_flush(struct ntvfs_module_context *ntvfs,
                        return NT_STATUS_INVALID_HANDLE;
                }
                pvfs_flush_file(pvfs, f);
+               io->smb2.out.reserved = 0;
                return NT_STATUS_OK;
 
        case RAW_FLUSH_ALL: