]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde774d3d769bb642efd5468f229a8f97bef306e4
tree4870cf49980623c0106ca9e4f9f3645a2946a038
parent7d0daaf0d793558cfd47aabc3490475b8cef5f7f
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