nfsd: getattr for FATTR4_WORD0_FILES_AVAIL needs the statfs buffer
authorChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 08:46:13 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:57:27 +0000 (18:57 -0700)
commit4f662095c1b2d640a7a71ad9e32f230735b7f851
tree08361c2052211167556cbf0de6a8522ad9d2907c
parentc77dea702ddf23f39b0afc2e738eb7716df71734
nfsd: getattr for FATTR4_WORD0_FILES_AVAIL needs the statfs buffer

commit 12337901d654415d9f764b5f5ba50052e9700f37 upstream.

Note nobody's ever noticed because the typical client probably never
requests FILES_AVAIL without also requesting something else on the list.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfs4xdr.c