namei.c: take "jump to root" into a new helper
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 6 Dec 2015 01:51:58 +0000 (20:51 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:18:21 +0000 (21:18 -0500)
commit248fb5b9557aa117f0b8c68b8cf2ce436e4d839d
tree496d169de9617a129c30c24271575bfd09c3f08b
parentef55d91700d54f29b9ac301658b5b8f377ef3206
namei.c: take "jump to root" into a new helper

... and use it both in path_init() (for absolute pathnames) and
get_link() (for absolute symlinks).

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