David Chinner 72772a3b5b [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 <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
2008-03-06 16:38:50 +11:00
..
2008-02-07 18:22:38 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 16:46:39 +11:00
2007-07-14 15:28:50 +10:00
2008-02-07 18:14:38 +11:00
2007-10-16 11:40:24 +10:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:44:23 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 16:47:15 +11:00
2008-02-07 18:14:38 +11:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:49:49 +10:00
2008-02-07 16:42:19 +11:00
2008-02-07 18:24:00 +11:00
2008-02-07 18:22:38 +11:00
2008-02-07 16:42:19 +11:00