path_init(): set nd->inode earlier in cwd-relative case
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 6 Dec 2015 01:25:06 +0000 (20:25 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 7 Dec 2015 02:18:16 +0000 (21:18 -0500)
commitef55d91700d54f29b9ac301658b5b8f377ef3206
treebc40a635ac5368b450197b540502a558a8a9efe8
parent9e6697e26f9888cdb6088664d31c3772b0dff0a4
path_init(): set nd->inode earlier in cwd-relative case

that allows to kill the recheck of nd->seq on the way out in
this case, and this check on the way out is left only for
absolute pathnames.

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