]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitb306419ae08d9def53f2142a37cc0a58622307a8
tree8d3e6a51b05f39230a968e0655162f560f6c3c42
parentdfef6dcd35cb4a251f6322ca9b2c06f0bb1aa1f4
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