]> err.no Git - linux-2.6/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)
commite518ddb7ba44a3d852c0e41961365844c76eb2bf
tree82bda48f6dac153015ef02fe6f8ccbbfa15151d0
parentc16a02d6f5fcfe05dc6fd40aa80a8e1d055300db
[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