diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-06-06 13:36:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-06 14:42:25 -0700 |
commit | d671d5e51400aab03c713a16ce3545aa81ad7b1c (patch) | |
tree | c0ba8f1af3d55320a52024d02be4ab9869a0f6e2 /fs/attr.c | |
parent | cd4e91d3bca8d5527289f5984cf32e9fe6fb8293 (diff) | |
download | kernel_samsung_smdk4412-d671d5e51400aab03c713a16ce3545aa81ad7b1c.tar.gz kernel_samsung_smdk4412-d671d5e51400aab03c713a16ce3545aa81ad7b1c.tar.bz2 kernel_samsung_smdk4412-d671d5e51400aab03c713a16ce3545aa81ad7b1c.zip |
[PATCH] namei fixes (8/19)
In open_namei() we never use path.mnt or path.dentry after exit: or ok:.
Assignment of path.dentry in case of LAST_BIND is dead code and only
obfuscates already convoluted function; assignment of path.mnt after
__do_follow_link() can be moved down to the place where we set path.dentry.
Obviously equivalent transformations, just to clean the air a bit in that
region.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions