diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/f2fs/super.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 1d33ca1a8c09..d95a681ef7c9 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c | |||
@@ -2688,7 +2688,9 @@ int f2fs_sanity_check_ckpt(struct f2fs_sb_info *sbi) | |||
2688 | 2688 | ||
2689 | if (__is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG) && | 2689 | if (__is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG) && |
2690 | le32_to_cpu(ckpt->checksum_offset) != CP_MIN_CHKSUM_OFFSET) { | 2690 | le32_to_cpu(ckpt->checksum_offset) != CP_MIN_CHKSUM_OFFSET) { |
2691 | f2fs_warn(sbi, "layout of large_nat_bitmap is deprecated, run fsck to repair, chksum_offset: %u", | 2691 | f2fs_warn(sbi, "using deprecated layout of large_nat_bitmap, " |
2692 | "please run fsck v1.13.0 or higher to repair, chksum_offset: %u, " | ||
2693 | "fixed with patch: \"f2fs-tools: relocate chksum_offset for large_nat_bitmap feature\"", | ||
2692 | le32_to_cpu(ckpt->checksum_offset)); | 2694 | le32_to_cpu(ckpt->checksum_offset)); |
2693 | return 1; | 2695 | return 1; |
2694 | } | 2696 | } |