]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r316692
authorrmacklem <rmacklem@FreeBSD.org>
Tue, 25 Apr 2017 23:43:37 +0000 (23:43 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Tue, 25 Apr 2017 23:43:37 +0000 (23:43 +0000)
commit07de40498e933557fe781ebeae22608d613aea0b
tree30943b2c69c8bf8d22d3543adadf71b2b54932e4
parent060622accc6f055667425e1fdbdc86954af8a090
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.
sys/fs/nfs/nfs_commonsubs.c