]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: reduce the size of nr_ops for refcount btree cursors
authorDarrick J. Wong <djwong@kernel.org>
Thu, 6 Jan 2022 22:13:20 +0000 (14:13 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 20 Jan 2022 00:02:52 +0000 (16:02 -0800)
commit9a94fcf221a8d5fdc55f41d5b887304ffcbe42ef
tree240a441968f3be806518a44219294aca2c8a3581
parent0d15c8b3721aaf5cbe48ab1eb541065b8f15e224
xfs: reduce the size of nr_ops for refcount btree cursors

Source kernel commit: efb79ea31067ae3dd0f348eb06e6b9a5e9907078

We're never going to run more than 4 billion btree operations on a
refcount cursor, so shrink the field to an unsigned int to reduce the
structure size.  Fix whitespace alignment too.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_btree.h