xfs: push down inactive transaction mgmt for ifree
authorBrian Foster <bfoster@redhat.com>
Fri, 20 Sep 2013 15:06:11 +0000 (11:06 -0400)
committerBen Myers <bpm@sgi.com>
Tue, 8 Oct 2013 22:15:01 +0000 (17:15 -0500)
commit88877d2b9727a14431bfe48216ff86331ab47ea5
treee09e7520d93a55e26f2d56ad7f6a94950ee6e1e5
parentf7be2d7f594cbc7a00902b5427332a1ad519a528
xfs: push down inactive transaction mgmt for ifree

Push the inode free work performed during xfs_inactive() down into
a new xfs_inactive_ifree() helper. This clears xfs_inactive() from
all inode locking and transaction management more directly
associated with freeing the inode xattrs, extents and the inode
itself.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_inode.c