From: Christoph Hellwig Date: Fri, 7 Aug 2009 17:38:29 +0000 (-0300) Subject: vfs: add __destroy_inode X-Git-Tag: v2.6.31-rc6~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e00c97e2c1d2ffc9e26252ca26b237678b0b772;p=pandora-kernel.git vfs: add __destroy_inode When we want to tear down an inode that lost the add to the cache race in XFS we must not call into ->destroy_inode because that would delete the inode that won the race from the inode cache radix tree. This patch provides the __destroy_inode helper needed to fix this, the actual fix will be in th next patch. As XFS was the only reason destroy_inode was exported we shift the export to the new __destroy_inode. Signed-off-by: Christoph Hellwig Reviewed-by: Eric Sandeen --- Reading git-diff-tree failed