From: Nick Piggin Date: Fri, 14 Jan 2011 02:35:53 +0000 (+0000) Subject: fs: force_reval_path drop rcu-walk before d_invalidate X-Git-Tag: v2.6.38-rc1~71^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb20c18db6fbb5e6ba499c76473a487d35073467;p=pandora-kernel.git fs: force_reval_path drop rcu-walk before d_invalidate d_revalidate can return in rcu-walk mode even when it returns 0. We can't just call any old dcache function on rcu-walk dentry (the dentry is unstable, so even through d_lock can safely be taken, the result may no longer be what we expect -- careful re-checks would be required). So just drop rcu in this case. (I missed this conversion when switching to the rcu-walk convention that Linus suggested) Signed-off-by: Nick Piggin --- Reading git-diff-tree failed