xfs: truncate transaction does not modify the inobt
authorBrian Foster <bfoster@redhat.com>
Mon, 8 Jan 2018 18:41:37 +0000 (10:41 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:41:37 +0000 (10:41 -0800)
commita606ebdb859e78beb757dfefa08001df366e2ef5
treeb2dab1bf3e6079e1898f51225a64db6446787cdd
parente8341d9f6348640dff01d8c4a33695dc82bab5a3
xfs: truncate transaction does not modify the inobt

The truncate transaction does not ever modify the inode btree, but
includes an associated log reservation. Update
xfs_calc_itruncate_reservation() to remove the reservation
associated with inobt updates.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_trans_resv.c