xfs: use accessor functions for summary info words
authorDarrick J. Wong <djwong@kernel.org>
Mon, 16 Oct 2023 16:51:16 +0000 (09:51 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 18 Oct 2023 23:53:00 +0000 (16:53 -0700)
commit663b8db7b0256b81152b2f786e45ecf12bdf265f
treeeef619bc233dbe4eb8d796a0fca9a5573210faf3
parentbd85af280de66a946022775a876edf0c553e3f35
xfs: use accessor functions for summary info words

Create get and set functions for rtsummary words so that we can redefine
the ondisk format with a specific endianness.  Note that this requires
the definition of a distinct type for ondisk summary info words so that
the compiler can perform proper typechecking.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/libxfs/xfs_rtbitmap.h
fs/xfs/scrub/rtsummary.c
fs/xfs/scrub/trace.c
fs/xfs/scrub/trace.h
fs/xfs/xfs_ondisk.h