xfs: push down inactive transaction mgmt for truncate
authorBrian Foster <bfoster@redhat.com>
Fri, 20 Sep 2013 15:06:10 +0000 (11:06 -0400)
committerBen Myers <bpm@sgi.com>
Tue, 8 Oct 2013 20:32:11 +0000 (15:32 -0500)
commitf7be2d7f594cbc7a00902b5427332a1ad519a528
tree564355cd78bbe0a967437698b733c6f8fc868c31
parent36b21dde6e899d2f25077b7c239d2d6bcff17d73
xfs: push down inactive transaction mgmt for truncate

Create the new xfs_inactive_truncate() function to handle the
truncate portion of xfs_inactive(). Push the locking and
transaction management into the new function.

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