diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-19 00:43:29 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-20 06:49:01 +0200 |
commit | 59430262401bec02d415179c43dbe5b8819c09ce (patch) | |
tree | 18caba988f1fb650bb804727de06adc73953b2c6 /virt | |
parent | Fix cifs_get_root() (diff) | |
download | linux-59430262401bec02d415179c43dbe5b8819c09ce.tar.xz linux-59430262401bec02d415179c43dbe5b8819c09ce.zip |
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 'virt')
0 files changed, 0 insertions, 0 deletions