summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2005-03-04 17:13:08 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-03-04 17:13:08 -0800
commit2a2fceca146215cc62eac11347cd3fe6a4927c20 (patch)
treef3cdd891c6af9e78e87a35065233dafefcaef39c /include
parenta5801ce956b72d3886fc460b3bd680839a832286 (diff)
[PATCH] nfsd: exportfs: reduce stack usage
find_exported_dentry() declares char nbuf[NAME_MAX+1]; in 2 separate places, and gcc allocates space on the stack for both of them. Having just one of them will suffice, if we can put put with its scope. Reduces function stack usage on x86-32 from 0x230 to 0x130. Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions