s3:libsmb: Store file allocation size in struct file_info.
authorJeremy Allison <jra@samba.org>
Fri, 18 Jan 2019 00:59:08 +0000 (16:59 -0800)
committerJeremy Allison <jra@samba.org>
Fri, 18 Jan 2019 19:11:22 +0000 (20:11 +0100)
commit2c113522fe229b3334b1222190c055d86d27ca18
tree41d038c0d0b3269c5e430022963ac6f1d4415932
parentc5a69c9f0c8e66e1f9f0dac5875478555e0b3d14
s3:libsmb: Store file allocation size in struct file_info.

We get this already, from SMB2_FIND_ID_BOTH_DIRECTORY_INFO
so return it.

For SMB1 leave this as zero so callers know it hasn't
been initialized.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/include/client.h
source3/libsmb/cli_smb2_fnum.c