]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: use accessor functions for summary info words
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Feb 2024 08:25:48 +0000 (09:25 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commitb16c5a811321bb3874e5c78884b412f3ab80c2d8
tree6dc9ea5a72909b0bd244c7cfb8c53782932e9ad9
parent75805b294696872cee6ac1b4af6cf3ffa50b8e6d
xfs: use accessor functions for summary info words

Source kernel commit: 663b8db7b0256b81152b2f786e45ecf12bdf265f

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>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_format.h
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h