aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode.c
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2008-10-30 16:50:35 +1100
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 16:50:35 +1100
commitd07c60e54fb7647d8247ae392f128e8ee8f3e5f3 (patch)
tree5a383c9683bff46c0ddc8a4bb7b955a260323d87 /fs/xfs/xfs_inode.c
parentbe8b78a626dd9bc92c12e9ac34f3bc3db1204d25 (diff)
downloadkernel_samsung_tuna-d07c60e54fb7647d8247ae392f128e8ee8f3e5f3.zip
kernel_samsung_tuna-d07c60e54fb7647d8247ae392f128e8ee8f3e5f3.tar.gz
kernel_samsung_tuna-d07c60e54fb7647d8247ae392f128e8ee8f3e5f3.tar.bz2
[XFS] Use xfs_idestroy() to cleanup an inode.
SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31927a Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: David Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r--fs/xfs/xfs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index b0c604e..2a158a2 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -886,7 +886,7 @@ xfs_iread(
*/
error = xfs_itobp(mp, tp, ip, &dip, &bp, bno, imap_flags, XFS_BUF_LOCK);
if (error) {
- kmem_zone_free(xfs_inode_zone, ip);
+ xfs_idestroy(ip);
return error;
}