[PATCH] s3:libsmb: Store file allocation size in struct file_info.
asn at samba.org
Fri Jan 18 09:29:57 UTC 2019
On Friday, January 18, 2019 2:01:56 AM CET Jeremy Allison wrote:
> On Thu, Jan 17, 2019 at 04:18:56PM -0800, Jeremy Allison wrote:
> > Hi Puran,
> > I think your patch is good except rather than
> > using ino_t in the internal struct file_info,
> > I'd rather keep it as the uint64_t type the
> > on-the-wire call actually returns. We can
> > always map it to ino_t in the libsmbclient
> > public interface, but right now I don't
> > want to lose any possible info.
> > Let me know if you're good with this
> > and I'll push.
> Second part - return uint64_t allocated_size
> in struct file_info as well as we get it
> for free. Leave as zero for SMB1.
> Andreas, please review and push if happy.
RB+ and pushed to autobuild.
Andreas Schneider asn at samba.org
Samba Team www.samba.org
More information about the samba-technical