We should convert the generation number to little endian before saving
it to disk.
We've just changed to use the normal checksumming infrastructure for
free space cache, so it's the perfect time to fix this bug.
Signed-off-by: Li Zefan
---
fs/btrfs/free-space-cache.c | 12 ++--
1 file
We should convert the transaction id to little endian before saving
it to disk.
Signed-off-by: Li Zefan
---
fs/btrfs/free-space-cache.c | 15 ---
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 9f985a4..