r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE...
authorAndrew Tridgell <tridge@samba.org>
Fri, 15 Jul 2005 11:32:08 +0000 (11:32 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:23:09 +0000 (13:23 -0500)
(This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466)

source4/torture/raw/write.c

index dead0e4971749623c716aac75697243efb929e61..f7a8e5bcdf63998a3b2f2afc7f88b75f9ce7e79a 100644 (file)
@@ -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;
                }