statvfs: fix bsize and frsize mixup
authorBjörn Jacke <bjacke@samba.org>
Tue, 8 Jan 2019 09:38:06 +0000 (10:38 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 10 Jan 2019 08:40:06 +0000 (09:40 +0100)
commitd7d3ee18a5979168b6cab42d692eb39fa5d44154
treeee40061e2ef10cbec6666be06ed92647f2b1a0c0
parent7a5b65c88d3b7bf713bd4837e77b0cecc9c2fe11
statvfs: fix bsize and frsize mixup

the block size (the real one) is the "fundamental file system block size" and
that is the frsize struct member in the statvfs struct. The bsize struct member
of the statvfs struct is *different* from the same named one of the statfs
struct.

See also http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_statvfs.h.html

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11810

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Jan 10 09:40:06 CET 2019 on sn-devel-144
source3/smbd/statvfs.c