From: J. Bruce Fields Date: Wed, 15 Jan 2014 17:21:12 +0000 (-0500) Subject: nfsd4: decrease nfsd4_encode_fattr stack usage X-Git-Tag: v3.14-rc1~44^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d50e61361c68a05a9cd7d54617522f99f278ac8a;p=pandora-kernel.git nfsd4: decrease nfsd4_encode_fattr stack usage A struct svc_fh is 320 bytes on x86_64, it'd be better not to have these on the stack. kmalloc'ing them probably isn't ideal either, but this is the simplest thing to do. If it turns out to be a problem in the readdir case then we could add a svc_fh to nfsd4_readdir and pass that in. Acked-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed