]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: reduce the size of nr_ops for refcount btree cursors
authorDarrick J. Wong <djwong@kernel.org>
Thu, 23 Sep 2021 16:41:13 +0000 (09:41 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 19 Oct 2021 18:45:14 +0000 (11:45 -0700)
commit26f293b575a6abcef382d8871d066e885c6da4ee
treef5de388d64cb4e46ab4691e7c46321525f6b90b2
parente84b546e077851aa202a3c2cfd353896881897d8
xfs: reduce the size of nr_ops for refcount btree cursors

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>
fs/xfs/libxfs/xfs_btree.h