nfsd: fix encode_entryplus_baggage stack usage
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 9 Jan 2014 21:24:35 +0000 (16:24 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 23 Jan 2014 18:50:27 +0000 (13:50 -0500)
commit068c34c0ce8add2e5f01ee6c85710e6fefb832ad
treeafdc7ef6f2a5d385fa7393b1d25a6d4aa1855b81
parent3554116d3aae25353713f3d0131d86ae6c1e5674
nfsd: fix encode_entryplus_baggage stack usage

We stick an extra svc_fh in nfsd3_readdirres to save the need to
kmalloc, though maybe it would be fine to kmalloc instead.

Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs3xdr.c
fs/nfsd/xdr3.h