Re: setting allocation size in cifs/smb3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 18, 2014 at 11:49:04PM -0500, Steve French wrote:
> Windows shrinks the file (unlike Linux) when you do the allocate
> before end of file, but when I tried the same call to
> Samba it seemed to ignore it, return success and leave
> file size alone.

That's a bug - the code does use ftruncate if
the new allocated size is less than file size.

Can you send me a wireshark trace of what
you're sending please ?
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux