diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-26 13:04:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-03 12:42:48 -0700 |
commit | 601309611a1714cca934161550291dc5553b6b63 (patch) | |
tree | c6ec21f4417c298dbe6e028086cc5de84174bcad /scripts/patch-kernel | |
parent | 6ba8838527eab698d2b252b750cd5743b09c9737 (diff) |
vfs: fix race in rcu lookup of pruned dentry
Backport of commit 59430262401bec02d415179c43dbe5b8819c09ce
done by Hugh Dickins <hughd@google.com>
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>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions