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)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 Jul 2014 12:33:44 +0000 (13:33 +0100)
commitad6a6b22ba8e575317467a7ed7ed6c4d24b0fbdf
treed7228a1d3226e66fd584b9e5dbb275b38e34df30
parente36a18a9f92d082f2f32a627c3be1fd00683acd2
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: Ben Hutchings <ben@decadent.org.uk>
fs/nfsd/nfs4xdr.c