summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-19 02:43:29 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-20 08:49:01 +0400
commit59430262401bec02d415179c43dbe5b8819c09ce (patch)
tree18caba988f1fb650bb804727de06adc73953b2c6 /lib
parentfec11dd9a0109fe52fd631e5c510778d6cbff6cc (diff)
downloadlinux-59430262401bec02d415179c43dbe5b8819c09ce.tar.xz
vfs: fix race in rcu lookup of pruned dentry
Don't update *inode in __follow_mount_rcu() until we'd verified that there is mountpoint there. Kudos to Hugh Dickins for catching that one in the first place and eventually figuring out the solution (and catching a braino in the earlier version of patch). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions