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)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 28 Feb 2016 00:31:01 +0000 (19:31 -0500)
commita7f775428b8f5808815c0e3004020cedb94cbe3b
tree44e2bed48f96a5e9918280e518448daab65ea44f
parentd4565649b6d6923369112758212b851adc407f0c
should_follow_link(): validate ->d_seq after having decided to follow

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

Cc: stable@vger.kernel.org # v4.2+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c