diff options
author | Christoph Hellwig <[email protected]> | 2022-11-15 10:39:44 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-11-21 14:40:40 +0100 |
commit | c51f0e6a1254b3ac2d308e1c6fd8fb936992b455 (patch) | |
tree | 03b9601997fca4fff9f0ad47e525a25cacb59132 /lib/mpi/mpi-mod.c | |
parent | 013c1c5585ebcfb19c88efe79063d0463b1b6159 (diff) |
btrfs: zoned: fix missing endianness conversion in sb_write_pointer
generation is an on-disk __le64 value, so use btrfs_super_generation to
convert it to host endian before comparing it.
Fixes: 12659251ca5d ("btrfs: implement log-structured superblock for ZONED mode")
CC: [email protected] # 5.15+
Reviewed-by: Johannes Thumshirn <[email protected]>
Reviewed-by: Qu Wenruo <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions