namei: move bumping the refcount of link->mnt into pick_link()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 5 May 2015 14:52:35 +0000 (10:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:20:18 +0000 (22:20 -0400)
commitcd179f4468acfda2b7e9e236dc37bba815996421
tree52894dc6291fae92006deb92c3b3689c629c721c
parente8bb73dfb0aad673a3b9650e9af0ba1739a4df01
namei: move bumping the refcount of link->mnt into pick_link()

update the failure cleanup in may_follow_link() to match that.

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