[cifs-protocol] [REG:120050921000038] Clarification on type of offset fields in SMB2_READ/SMB2_WRITE.

Jeremy Allison jra at samba.org
Mon May 11 23:07:43 UTC 2020

On Mon, May 11, 2020 at 07:01:19PM +0000, Jeff McCashland wrote:
> Hi Jeremy,
> [MS-FSA] describes the operation of the underlying file store, roughly how NTFS works. NTFS will accept negative Offset writes and treat them as documented in [MS-FSA]. However, SMB2 will return STATUS_INVALID_PARAMETER if SMB2_READ or SMB2_WRITE Offset are < 0. SMB2 will not send a Write request to the underlying file store with a negative Offset. 
> I hope that helps!

Thanks Jeff, that's extremely helpful !

More information about the cifs-protocol mailing list