]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
should_follow_link(): validate ->d_seq after having decided to follow
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 28 Feb 2016 00:31:01 +0000 (19:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2016 23:07:30 +0000 (15:07 -0800)
commit6f4b352f004c696439c5b5d75a4edc3d0823e770
treeca8990d3869be4dc536fa712892e05b1e0c268e7
parent9108b130f74d13a37e67a96cc0a8642464578a0a
should_follow_link(): validate ->d_seq after having decided to follow

commit a7f775428b8f5808815c0e3004020cedb94cbe3b upstream.

... otherwise d_is_symlink() above might have nothing to do with
the inode value we've got.

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