Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07c60e5 authored by Lachlan McIlroy's avatar Lachlan McIlroy
Browse files

[XFS] Use xfs_idestroy() to cleanup an inode.



SGI-PV: 981498

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

Signed-off-by: default avatarLachlan McIlroy <lachlan@sgi.com>
Signed-off-by: default avatarDavid Chinner <david@fromorbit.com>
parent be8b78a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}