Files
ack-tegra/include/linux
Tim Gardner f25cc71e63 lockd: nlmclnt_reclaim(): avoid stack overflow
Even though nlmclnt_reclaim() is only one call into the stack frame,
928 bytes on the stack seems like a lot. Recode to dynamically
allocate the request structure once from within the reclaimer task,
then pass this pointer into nlmclnt_reclaim() for reuse on
subsequent calls.

smatch analysis:

fs/lockd/clntproc.c:620 nlmclnt_reclaim() warn: 'reqst' puts
 928 bytes on stack

Also remove redundant assignment of 0 after memset.

Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2013-02-15 11:29:38 -05:00
..
2013-01-02 17:36:10 -08:00
2013-01-02 17:36:10 -08:00
2013-01-02 17:36:10 -08:00
2012-12-20 13:57:36 -05:00
2012-12-21 20:23:41 +00:00
2012-12-14 13:05:26 +10:30
2012-12-12 17:38:33 -08:00
2012-12-20 18:46:29 -05:00
2012-12-14 13:06:40 +10:30
2012-12-11 17:22:27 -08:00
2012-12-18 15:02:13 -08:00
2012-12-18 15:02:14 -08:00