namei: change calling conventions for lookup_{fast,slow} and follow_managed()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 6 Mar 2016 03:04:59 +0000 (22:04 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 14 Mar 2016 04:14:35 +0000 (00:14 -0400)
commite9742b5332061bf885d8dd95d17e18a1b21371fa
treed2ab8e54ef48c614819b36b2d2e97dd6fb8c1c80
parent5d0f49c136b520dd4da886e0e37458790f5a9617
namei: change calling conventions for lookup_{fast,slow} and follow_managed()

Have lookup_fast() return 1 on success and 0 on "need to fall back";
lookup_slow() and follow_managed() return positive (1) on success.

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