Jeff Layton 21179d81f1 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>
2012-08-21 14:08:39 -04:00
..
2011-01-04 18:22:10 -05:00
2008-02-01 16:42:05 -05:00
2011-07-18 09:39:01 -04:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-11-07 21:10:47 -05:00
2011-07-18 09:39:01 -04:00
2012-01-03 22:55:10 -05:00
2011-03-31 11:26:23 -03:00
2012-08-20 18:39:42 -04:00
2012-05-31 20:29:37 -04:00