summaryrefslogtreecommitdiff
path: root/source4/torture/raw/write.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-15 11:32:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:09 -0500
commitbcec34683d1aaf606683f3c7ce3b7c80eee4619f (patch)
tree4e01ccb76103365520563499fbf8e226045dd6b4 /source4/torture/raw/write.c
parent4df9b5a6e3498743475d2309f75eb42db347f7eb (diff)
downloadsamba-bcec34683d1aaf606683f3c7ce3b7c80eee4619f.tar.gz
samba-bcec34683d1aaf606683f3c7ce3b7c80eee4619f.tar.bz2
samba-bcec34683d1aaf606683f3c7ce3b7c80eee4619f.zip
r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE to 2^33
(This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466)
Diffstat (limited to 'source4/torture/raw/write.c')
-rw-r--r--source4/torture/raw/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c
index dead0e4971..f7a8e5bcdf 100644
--- a/source4/torture/raw/write.c
+++ b/source4/torture/raw/write.c
@@ -355,7 +355,7 @@ static BOOL test_writex(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
io.writex.in.offset = ((uint64_t)1) << i;
io.writex.in.data = buf;
status = smb_raw_write(cli->tree, &io);
- if (i>40 &&
+ if (i>33 &&
NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER)) {
break;
}