From: David Chinner Date: Thu, 6 Mar 2008 02:49:43 +0000 (+1100) Subject: [XFS] fix inode leak in xfs_iget_core() X-Git-Tag: v2.6.25-rc5~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72772a3b5b158cddcfbbff3ef13b26b03a905158;p=pandora-kernel.git [XFS] fix inode leak in xfs_iget_core() If the radix_tree_preload() fails, we need to destroy the inode we just read in before trying again. This could leak xfs_vnode structures when there is memory pressure. Noticed by Christoph Hellwig. SGI-PV: 977823 SGI-Modid: xfs-linux-melb:xfs-kern:30606a Signed-off-by: David Chinner Signed-off-by: Lachlan McIlroy Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed