diff options
| author | Linus Torvalds <[email protected]> | 2011-07-18 22:43:29 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-07-20 04:49:01 +0000 |
| commit | 59430262401bec02d415179c43dbe5b8819c09ce (patch) | |
| tree | 18caba988f1fb650bb804727de06adc73953b2c6 /lib/fault-inject.c | |
| parent | Fix cifs_get_root() (diff) | |
| download | kernel-59430262401bec02d415179c43dbe5b8819c09ce.tar.gz kernel-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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
