]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smb2_server: make use of SMB2_WRITEFLAG_WRITE_THROUGH
authorStefan Metzmacher <metze@samba.org>
Tue, 6 Sep 2011 11:38:32 +0000 (13:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 6 Sep 2011 14:59:49 +0000 (16:59 +0200)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Sep  6 16:59:50 CEST 2011 on sn-devel-104

source3/smbd/smb2_write.c

index 057abcc8f7f27b0d06b501c0b677cd21abdecbb5..a6ad42bc060fe2a520d0048d625464e116944b0a 100644 (file)
@@ -245,7 +245,7 @@ static struct tevent_req *smbd_smb2_write_send(TALLOC_CTX *mem_ctx,
                return NULL;
        }
        state->smb2req = smb2req;
-       if (in_flags & 0x00000001) {
+       if (in_flags & SMB2_WRITEFLAG_WRITE_THROUGH) {
                state->write_through = true;
        }
        state->in_length = in_data.length;