summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-06 13:38:32 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-06 16:59:49 +0200
commit436cda0cbd4682aad78edae02e663420b95c4cda (patch)
treeca283cfd4086899f5e7b61e2b22272dff6e89eb1 /source3/smbd
parentdd3c1b740cfd69fc4bac11afec2524cf7a55681f (diff)
downloadsamba-436cda0cbd4682aad78edae02e663420b95c4cda.tar.gz
samba-436cda0cbd4682aad78edae02e663420b95c4cda.tar.bz2
samba-436cda0cbd4682aad78edae02e663420b95c4cda.zip
s3:smb2_server: make use of SMB2_WRITEFLAG_WRITE_THROUGH
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Sep 6 16:59:50 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/smb2_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c
index 057abcc8f7..a6ad42bc06 100644
--- a/source3/smbd/smb2_write.c
+++ b/source3/smbd/smb2_write.c
@@ -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;