diff options
author | J. Bruce Fields | 2014-01-15 18:21:12 +0100 |
---|---|---|
committer | J. Bruce Fields | 2014-01-24 21:58:21 +0100 |
commit | d50e61361c68a05a9cd7d54617522f99f278ac8a (patch) | |
tree | ee0f62664a334349fc18445deef62cca0cd31e3a /net/sunrpc/auth_gss/gss_krb5_keys.c | |
parent | nfsd: fix encode_entryplus_baggage stack usage (diff) | |
download | kernel-qcow2-linux-d50e61361c68a05a9cd7d54617522f99f278ac8a.tar.gz kernel-qcow2-linux-d50e61361c68a05a9cd7d54617522f99f278ac8a.tar.xz kernel-qcow2-linux-d50e61361c68a05a9cd7d54617522f99f278ac8a.zip |
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 <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_keys.c')
0 files changed, 0 insertions, 0 deletions