commit | 2c95e510b8704a87590ab647258d494634a3d68a | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Wed Jul 03 14:21:37 2024 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Tue Jul 09 15:37:06 2024 -0700 |
tree | 421f24dd77b1cab4e8c20822fe62d7b50796090b | |
parent | 4510d4ad46580a0b8778696d6767f475328f9c7e [diff] |
xfs: don't use the incore struct xfs_sb for offsets into struct xfs_dsb Currently, the XFS_SB_CRC_OFF macro uses the incore superblock struct (xfs_sb) to compute the address of sb_crc within the ondisk superblock struct (xfs_dsb). This is a landmine if we ever change the layout of the incore superblock (as we're about to do), so redefine the macro to use xfs_dsb to compute the layout of xfs_dsb. Signed-off-by: Darrick J. Wong <djwong@kernel.org>