diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-09-21 14:07:18 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:17:10 -0700 |
commit | 5ba1dc102ab709b1d2a039f05623120fd45d61a5 (patch) | |
tree | c54506bb12290c1f24bb09b66e0220fcc8bd1494 /fs/xfs/scrub | |
parent | 73f9768c459f61ef8084333c24e4e76f22784006 (diff) |
xfs: encode the rtbitmap in little endian format
Currently, the ondisk realtime bitmap file is 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.
The natural format of a bitmap is (IMHO) little endian, because the byte
offsets of the bitmap data should always increase in step with the
information being indexed.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/scrub')
0 files changed, 0 insertions, 0 deletions