aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-11-15 10:39:44 +0100
committerDavid Sterba <[email protected]>2022-11-21 14:40:40 +0100
commitc51f0e6a1254b3ac2d308e1c6fd8fb936992b455 (patch)
tree03b9601997fca4fff9f0ad47e525a25cacb59132 /lib/mpi/mpi-mod.c
parent013c1c5585ebcfb19c88efe79063d0463b1b6159 (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