]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: rename xfs_*alloc*_log_count to _block_count
authorDarrick J. Wong <djwong@kernel.org>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 22 Jun 2022 19:28:52 +0000 (14:28 -0500)
commitb8e570fc6b5c99270bf956ff4501f0cabb7decc3
tree692191a51bc616eaa6a96e1211bfd1988e799786
parent94fe6a316555b2d90c2b764048a0114c7c8deee6
xfs: rename xfs_*alloc*_log_count to _block_count

Source kernel commit: 6ed7e509d2304519f4f6741670f512a55e9e80fe

These functions return the maximum number of blocks that could be logged
in a particular transaction.  "log count" is confusing since there's a
separate concept of a log (operation) count in the reservation code, so
let's change it to "block count" to be less confusing.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_refcount.c
libxfs/xfs_trans_resv.c
libxfs/xfs_trans_resv.h