Date: Fri, 6 May 2011 01:29:14 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfsserver nfs_nfsdport.c Message-ID: <201105060129.p461TUJv089653@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-05-06 01:29:14 UTC
FreeBSD src repository
Modified files:
sys/fs/nfsserver nfs_nfsdport.c
Log:
SVN rev 221517 on 2011-05-06 01:29:14Z by rmacklem
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.
MFC after: 2 weeks
Revision Changes Path
1.49 +16 -1 src/sys/fs/nfsserver/nfs_nfsdport.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105060129.p461TUJv089653>
