From 436cda0cbd4682aad78edae02e663420b95c4cda Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 6 Sep 2011 13:38:32 +0200 Subject: s3:smb2_server: make use of SMB2_WRITEFLAG_WRITE_THROUGH metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Tue Sep 6 16:59:50 CEST 2011 on sn-devel-104 --- source3/smbd/smb2_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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; -- cgit