[PATCH] SMB2: fix allocation size return value when opening existing files
Christian M Ambach
christian.ambach at de.ibm.com
Mon Oct 10 10:09:40 MDT 2011
I wanted to run this patch by you for sanity checking before pushing it.
While looking at the some network traces, I found that in the reply
to a SMB2 CreateFile request that opens an existing file, the reported
allocation size of the file was much too large.
e.g. 25769803776000 while the file size actually had 12582912000 bytes.
FileInfo calls report the correct value, so I thought it would be
a good idea to sync up the code of CreateFile with the FileInfo
Is this fix good to push or did I miss potential sideeffects?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1268 bytes
Desc: not available
More information about the samba-technical