git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be8b78a
)
[XFS] Use xfs_idestroy() to cleanup an inode.
author
Lachlan McIlroy
<lachlan@sgi.com>
Thu, 30 Oct 2008 05:50:35 +0000
(16:50 +1100)
committer
Lachlan McIlroy
<lachlan@sgi.com>
Thu, 30 Oct 2008 05:50:35 +0000
(16:50 +1100)
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>
fs/xfs/xfs_inode.c
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_inode.c
b/fs/xfs/xfs_inode.c
index
b0c604e
..
2a158a2
100644
(file)
--- 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;
}