1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-14 00:58:38 +03:00

r8491: lower the offset limit that filesystems need to support to pass RAW-WRITE to 2^33

(This used to be commit e499b1abaeee00366ccd2e5b1acbe18d48e77466)
This commit is contained in:
Andrew Tridgell 2005-07-15 11:32:08 +00:00 committed by Gerald (Jerry) Carter
parent 4df9b5a6e3
commit bcec34683d

View 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;
}