aboutsummaryrefslogtreecommitdiff
path: root/contrib/diff/NEWS
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2007-08-28 20:28:12 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2007-08-28 20:28:12 +0000
commitcc479dda4a663966637549f429020e002458ef3d (patch)
tree6c90a59f892dc8f1d97e9a4c9dbc5d141cf5adfa /contrib/diff/NEWS
parent0e6ed4feab627360a69a484a8c077b6296a59703 (diff)
Rework the routines to convert a 5.x+ statfs structure (with fixed-size
64-bit counters) to a 4.x statfs structure (with long-sized counters). - For block counters, we scale up the block size sufficiently large so that the resulting block counts fit into a the long-sized (long for the ABI, so 32-bit in freebsd32) counters. In 4.x the NFS client's statfs VOP did this already. This can lie about the block size to 4.x binaries, but it presents a more accurate picture of the ratios of free and available space. - For non-block counters, fix the freebsd32 stats converter to cap the values at INT32_MAX rather than losing the upper 32-bits to match the behavior of the 4.x statfs conversion routine in vfs_syscalls.c Approved by: re (kensmith)
Notes
Notes: svn path=/head/; revision=172003
Diffstat (limited to 'contrib/diff/NEWS')
0 files changed, 0 insertions, 0 deletions