]> 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)
commit24d13315bd0c3d29a6b1970a72da31dc59b2f875
treebc40a635ac5368b450197b540502a558a8a9efe8
parent995da3c6ef67d89ca9337057827ec81cb5ee03ce
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