]> git.baikalelectronics.ru Git - kernel.git/commit
nd->inode is not set on the second attempt in path_walk()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 9 Mar 2011 02:16:28 +0000 (21:16 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 9 Mar 2011 02:16:28 +0000 (21:16 -0500)
commit33a1b0066fbb224afbbd85c2f8aaf39d59e568f9
tree8d3e6a51b05f39230a968e0655162f560f6c3c42
parentcbbc1f5b713d101ba6da5b2aa9aa427bf321d402
nd->inode is not set on the second attempt in path_walk()

We leave it at whatever it had been pointing to after the
first link_path_walk() had failed with -ESTALE.  Things
do not work well after that...

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