From: Linus Torvalds Date: Mon, 18 Jul 2011 22:43:29 +0000 (-0700) Subject: vfs: fix race in rcu lookup of pruned dentry X-Git-Tag: v3.0~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59430262401bec02d415179c43dbe5b8819c09ce;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed