]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_{db,repair}: use accessor functions for summary info words
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:30 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:23 +0000 (14:06 -0700)
commit251eb517007210b82288852e00c19133c3f6930f
treef060f670947606a292c6fe8e0340b7827b454c6b
parent113af2358443ca656ca3d5bfe3944d886f140f61
xfs_{db,repair}: use accessor functions for summary info words

Port xfs_db and xfs_repair to use 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>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
db/check.c
libxfs/libxfs_api_defs.h
repair/globals.c
repair/globals.h
repair/phase6.c
repair/rt.c
repair/rt.h