update nd->inode in __do_follow_link() instead of after do_follow_link()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 00:01:51 +0000 (20:01 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Mar 2011 21:16:25 +0000 (17:16 -0400)
commitb21041d0f72899ed815bd2cbf7275339c74737b6
treee9dddabedc599175926ea29603ca366cdc50dbaa
parentce57dfc1791221ef58b6d6b8f5437fccefc4e187
update nd->inode in __do_follow_link() instead of after do_follow_link()

... and note that we only need to do it for LAST_BIND symlinks

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c