postpone __putname() until after do_last()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 24 Dec 2009 07:08:19 +0000 (02:08 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 Mar 2010 14:01:18 +0000 (09:01 -0500)
commitc41c14056210e4a328659c82b1edaccb0910d18c
tree0ae7f7e9f952feb4577bb1908b063997232171bb
parent27bff34300482632caf52ff589a4e7d755b32539
postpone __putname() until after do_last()

Since do_last() doesn't mangle nd->last_name, we can safely postpone
__putname() done in handling of trailing symlinks until after the
call of do_last()

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