]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r316692
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Apr 2017 00:03:03 +0000 (00:03 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Apr 2017 00:03:03 +0000 (00:03 +0000)
commitfd63d0a521c9109d748e7fc89d135226fce06efd
treeddf24a55d167e25dc5b1a1ae4aea48243b862afc
parentf4e141a98936a15883841b776de7393b90aeaa5f
MFC: r316692
Set initial values for nfsstatfs in the NFSv4 client.

The AmazonEFS NFSv4.1 server does not support the FILES_FREE and FILES_TOTAL
attributes. As such, an NFSv4.1 mount to the server would return garbage
for these values. This patch initializes the fields of the nfsstatfs structure,
so that "df" and friends will at least return consistent bogus values.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317429 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_commonsubs.c