]> git.baikalelectronics.ru Git - kernel.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)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 28 Feb 2016 00:31:01 +0000 (19:31 -0500)
commitc5a88e949c097ee810f5b8604e5c63f8ec82e49b
tree44e2bed48f96a5e9918280e518448daab65ea44f
parenta9cb497a0fd11c852f71aa82b2f44e7af97e6357
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