commit | 59430262401bec02d415179c43dbe5b8819c09ce | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 18 15:43:29 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jul 19 21:49:01 2011 -0700 |
tree | 18caba988f1fb650bb804727de06adc73953b2c6 | |
parent | fec11dd9a0109fe52fd631e5c510778d6cbff6cc [diff] |
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>