]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd: Fix an FS_LAYOUT_TYPES/LAYOUT_TYPES encode bug
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 30 Jul 2015 13:52:44 +0000 (21:52 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 31 Aug 2015 20:12:39 +0000 (16:12 -0400)
commit6896f15aabde505b35888039af93d1d182a0108a
treeb851c03b11766c3eb378d212eb52f1db74a34add
parent0a2050d744037158de773be5c6f1fc468a551bae
nfsd: Fix an FS_LAYOUT_TYPES/LAYOUT_TYPES encode bug

Currently we'll respond correctly to a request for either
FS_LAYOUT_TYPES or LAYOUT_TYPES, but not to a request for both
attributes simultaneously.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c