]> 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, 28 Apr 2022 19:39:03 +0000 (15:39 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Thu, 28 Apr 2022 19:39:03 +0000 (15:39 -0400)
commit4c0ddd164b0920255bfebf6af9ab7d7e24419db2
tree0ce5385d079859ba2d0b38c32b4003b9aad20bd4
parent547a82cd4c382930c46c8d92fcc9444b78e7c5f1
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: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_btree.h