diff options
author | 2024-07-02 11:22:49 -0700 | |
---|---|---|
committer | 2024-07-02 11:37:00 -0700 | |
commit | ac3a0275165b4f80d9b7b516d6a8f8b308644fff (patch) | |
tree | f5aeb0f01d59840696447c79fb89e2f9b186ff76 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: get rid of trivial rename helpers (diff) | |
download | wireguard-linux-ac3a0275165b4f80d9b7b516d6a8f8b308644fff.tar.xz wireguard-linux-ac3a0275165b4f80d9b7b516d6a8f8b308644fff.zip |
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions