diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-09-21 09:50:02 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:17:08 -0700 |
commit | a29c734ba073e6b3bad5350bf5e8823b12c580e4 (patch) | |
tree | 5a8c58f4d1e1999a470e9036c5cbe8345c67beac /fs/xfs/xfs_ondisk.h | |
parent | ac30d908265b4c284112cf1f812f8f3391d12163 (diff) |
xfs: use accessor functions for summary info wordsrefactor-rtbitmap-macros_2022-10-14
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 7239eb2242bb..ab0c00b63b47 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 |