diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-09-21 09:50:02 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-09 19:07:56 -0800 |
commit | 739c5e2f47e9434d5af59dd36e0d11ad8fea55a4 (patch) | |
tree | 6974a7c5a6606290ab44555f8ef80733bad55375 /fs/xfs/xfs_ondisk.h | |
parent | a5145f77ddb467390cda03330c2f035cdcdd57de (diff) |
xfs: use accessor functions for summary info wordsrefactor-rtbitmap-macros_2022-11-09
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>
Diffstat (limited to 'fs/xfs/xfs_ondisk.h')
-rw-r--r-- | fs/xfs/xfs_ondisk.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_ondisk.h b/fs/xfs/xfs_ondisk.h index 7f20642b073e..f4d700ce185c 100644 --- a/fs/xfs/xfs_ondisk.h +++ b/fs/xfs/xfs_ondisk.h @@ -74,6 +74,7 @@ xfs_check_ondisk_structs(void) /* realtime structures */ XFS_CHECK_STRUCT_SIZE(union xfs_rtword_ondisk, 4); + XFS_CHECK_STRUCT_SIZE(union xfs_suminfo_ondisk, 4); /* * m68k has problems with xfs_attr_leaf_name_remote_t, but we pad it to |