From: Nick Piggin Date: Fri, 7 Jan 2011 06:49:20 +0000 (+1100) Subject: cgroup fs: avoid switching ->d_op on live dentry X-Git-Tag: v2.6.38-rc1~468^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5adcee1d8d32d7f305f6f5aaefdbf8f35adca177;p=pandora-kernel.git cgroup fs: avoid switching ->d_op on live dentry Switching d_op on a live dentry is racy in general, so avoid it. In this case it is a negative dentry, which is safer, but there are still concurrent ops which may be called on d_op in that case (eg. d_revalidate). So in general a filesystem may not do this. Fix cgroupfs so as not to do this. Signed-off-by: Nick Piggin --- Reading git-diff-tree failed