]> git.openpandora.org Git - pandora-kernel.git/commitdiff
namei: have terminate_walk() do put_link() on everything left
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 May 2015 12:34:59 +0000 (08:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:20:11 +0000 (22:20 -0400)
All callers of terminate_walk() are followed by more or less
open-coded eqiuvalent of "do put_link() on everything left
in nd->stack".  Better done in terminate_walk() itself, and
when we go for RCU symlink traversal we'll have to do it
there anyway.

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

diff --cc fs/namei.c
Simple merge