]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80b318dcbe084842159f4e55ef756213b7bb1629
treebc40a635ac5368b450197b540502a558a8a9efe8
parent8b7f9ba1327f8ce26a1ee9321086b5cb894a0a46
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