xfs: rename xfs_*alloc*_log_count to _block_count
authorDarrick J. Wong <djwong@kernel.org>
Tue, 26 Apr 2022 01:38:24 +0000 (18:38 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 28 Apr 2022 17:25:59 +0000 (10:25 -0700)
commit6ed7e509d2304519f4f6741670f512a55e9e80fe
tree4870cf49980623c0106ca9e4f9f3645a2946a038
parentdf2fd88f8ac77f75a603d9fa5015225cc6c30edb
xfs: rename xfs_*alloc*_log_count to _block_count

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>
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_trans_resv.c
fs/xfs/libxfs/xfs_trans_resv.h