]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] fs/namei.c: replace multiple current->fs by shortcut variable
authorAndreas Mohr <andi@rhlx01.fht-esslingen.de>
Fri, 29 Sep 2006 09:01:22 +0000 (02:01 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:22 +0000 (09:18 -0700)
commit74b2cf68b8afdf7fd6a95a6b262c5cb4dddfd2ee
tree82bda48f6dac153015ef02fe6f8ccbbfa15151d0
parentcdbbc2062279ba1d464d8b292c3b520f7de2afd0
[PATCH] fs/namei.c: replace multiple current->fs by shortcut variable

Replace current->fs by fs helper variable to reduce some indirection
overhead and (at least at the moment, before the current_thread_info() %gs
PDA improvement is available) get rid of more costly current references.
Reduces fs/namei.o from 37786 to 37082 Bytes (704 Bytes saved).

[akpm@osdl.org: cleanup]
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namei.c