From: Nick Piggin Date: Fri, 14 Jan 2011 02:36:19 +0000 (+0000) Subject: fs: fix dropping of rcu-walk from force_reval_path X-Git-Tag: v2.6.38-rc1~71^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90dbb77ba48dddb87445d238e84cd137cf97dd98;p=pandora-kernel.git fs: fix dropping of rcu-walk from force_reval_path As J. R. Okajima noted, force_reval_path passes in the same dentry to d_revalidate as the one in the nameidata structure (other callers pass in a child), so the locking breaks. This can oops with a chrooted nfs mount, for example. Similarly there can be other problems with revalidating a dentry which is already in nameidata of the path walk. Signed-off-by: Nick Piggin --- Reading git-diff-tree failed