diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-11-03 20:19:24 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-11-05 13:38:41 -0800 |
commit | a2c28367396a85f2d9cfb22acfcedcff08dd1c3c (patch) | |
tree | b20a0bf81cf9b73dc83afe66c6edb7593191b2ec /fs/xfs/xfs_rtalloc.c | |
parent | eba42c2c53c8b8905307b702c93dffef0719a896 (diff) |
xfs: encode the rtsummary in big endian format
Currently, the ondisk realtime summary file counters are accessed in
units of 32-bit words. There's no endian translation of the contents of
this file, which means that the Bad Things Happen(tm) if you go from
(say) x86 to powerpc. Since we have a new feature flag, let's take the
opportunity to enforce an endianness on the file. Encode the summary
information in big endian format, like most of the rest of the
filesystem.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_rtalloc.c')
0 files changed, 0 insertions, 0 deletions