From bcec34683d1aaf606683f3c7ce3b7c80eee4619f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Jul 2005 11:32:08 +0000 Subject: r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE to 2^33 (This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466) --- source4/torture/raw/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw') 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; } -- cgit