[XFS] free partially initialized inodes using destroy_inode
authorChristoph Hellwig <hch@infradead.org>
Thu, 30 Oct 2008 07:26:04 +0000 (18:26 +1100)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 30 Oct 2008 07:26:04 +0000 (18:26 +1100)
commit9ed0451ee0a13469f7b38e4ced8974036f6d114f
treebb9c5622198296933512dea3cefacfc17756eb1c
parent087e3b0460c367d0f4a5b71d7b013968ae23b588
[XFS] free partially initialized inodes using destroy_inode

To make sure we free the security data inodes need to be freed using the
proper VFS helper (which we also need to export for this). We mark these
inodes bad so we can skip the flush path for them.

SGI-PV: 987246

SGI-Modid: xfs-linux-melb:xfs-kern:32398a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
fs/xfs/xfs_iget.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h