From: Jeff Layton Date: Tue, 21 Aug 2012 12:03:32 +0000 (-0400) Subject: knfsd: don't allocate file_locks on the stack X-Git-Tag: v3.7-rc1~24^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21179d81f1de37c93435dce10d2a4378c370ecca;p=pandora-kernel.git 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 Signed-off-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed