diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-18 15:43:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-19 21:49:01 -0700 |
commit | 59430262401bec02d415179c43dbe5b8819c09ce (patch) | |
tree | 18caba988f1fb650bb804727de06adc73953b2c6 /fs/cifs | |
parent | fec11dd9a0109fe52fd631e5c510778d6cbff6cc (diff) | |
download | kernel_samsung_tuna-59430262401bec02d415179c43dbe5b8819c09ce.zip kernel_samsung_tuna-59430262401bec02d415179c43dbe5b8819c09ce.tar.gz kernel_samsung_tuna-59430262401bec02d415179c43dbe5b8819c09ce.tar.bz2 |
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 'fs/cifs')
0 files changed, 0 insertions, 0 deletions