summaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2012-06-01 01:26:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-01 02:49:29 +0200
commitaf5e6171437c9d62d84459b24877c94c23782676 (patch)
tree06ee8cef7f47a0f4facd84f7676c39001965e549 /fs/proc/array.c
parentproc: don't do dummy rcu_read_lock/rcu_read_unlock on error path (diff)
downloadlinux-af5e6171437c9d62d84459b24877c94c23782676.tar.xz
linux-af5e6171437c9d62d84459b24877c94c23782676.zip
proc: pass "fd" by value in /proc/*/{fd,fdinfo} code
Pass "fd" directly, not via pointer -- one less memory read. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions