namei: lift (open-coded) terminate_walk() in follow_dotdot_rcu() into callers
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 May 2015 11:53:00 +0000 (07:53 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 11 May 2015 02:20:09 +0000 (22:20 -0400)
commit70291aecc6aa228c1b3bb36a5f3efdb0af636042
treec116e03bf2810fd0c1029c6145b0b3f6c46b5fc7
parente269f2a73f92b40169c4229289587b901a00b244
namei: lift (open-coded) terminate_walk() in follow_dotdot_rcu() into callers

follow_dotdot_rcu() does an equivalent of terminate_walk() on failure;
shifting it into callers makes for simpler rules and those callers
already have terminate_walk() on other failure exits.

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