diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-15 11:32:08 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-07-15 11:32:08 +0000 |
commit | 8d6961b9fd494070a3bd43b20f1041470864c1f6 (patch) | |
tree | d84fc4fda7eadb2bcd016eb2e1db74172866dc34 /source/torture/raw/write.c | |
parent | 1bd1fcbfe3f8dd2cd2d1758832b63a9e1cc3304f (diff) | |
download | samba-8d6961b9fd494070a3bd43b20f1041470864c1f6.tar.gz samba-8d6961b9fd494070a3bd43b20f1041470864c1f6.tar.xz samba-8d6961b9fd494070a3bd43b20f1041470864c1f6.zip |
r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE to 2^33
Diffstat (limited to 'source/torture/raw/write.c')
-rw-r--r-- | source/torture/raw/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/torture/raw/write.c b/source/torture/raw/write.c index dead0e49717..f7a8e5bcdf6 100644 --- a/source/torture/raw/write.c +++ b/source/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; } |