summaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-08-21 08:03:32 -0400
committerJ. Bruce Fields <bfields@redhat.com>2012-08-21 14:08:39 -0400
commit21179d81f1de37c93435dce10d2a4378c370ecca (patch)
tree1e98dee111af862b69e1dd190cc97974a0b4e6e8 /net/sunrpc
parent5592a3f3978c57175ef817a4f773bc0d6d8949b9 (diff)
knfsd: don't allocate file_locks on the stack
struct file_lock is pretty large and really ought not live on the stack. On my x86_64 machine, they're almost 200 bytes each. (gdb) p sizeof(struct file_lock) $1 = 192 ...allocate them dynamically instead. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions