]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_trans_resv.c
xfs: truncate transaction does not modify the inobt
authorBrian Foster <bfoster@redhat.com>
Tue, 27 Feb 2018 04:43:15 +0000 (22:43 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 27 Feb 2018 04:43:15 +0000 (22:43 -0600)
commitec1b0fd9750b5d23ef91c9d35a80c201d8655a70
tree38f20328f53396669a392e78d3c7f909bdd62a25
parent727b445bb72f50b073491261bc016cf32ad6d271
xfs: truncate transaction does not modify the inobt

Source kernel commit: a606ebdb859e78beb757dfefa08001df366e2ef5

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_trans_resv.c