]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r221517
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 May 2011 00:51:52 +0000 (00:51 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 May 2011 00:51:52 +0000 (00:51 +0000)
commitaf15ad88ec9cd5975c8ffa42ebbe780b82b1bf49
tree3bbe0c2fac08e221e514c489219a84fb5928e066
parentb298bb09f31b6d47d9d1e1102fd6d79db930bfee
MFC: r221517
Change the new NFS server so that it returns 0 when the f_bavail
or f_ffree fields of "struct statfs" are negative, since the
values that go on the wire are unsigned and will appear to be
very large positive values otherwise. This makes the handling
of a negative f_bavail compatible with the old/regular NFS server.

git-svn-id: svn://svn.freebsd.org/base/stable/8@222109 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsserver/nfs_nfsdport.c