Loading fs/f2fs/super.c +8 −0 Original line number Diff line number Diff line Loading @@ -1454,6 +1454,14 @@ static int sanity_check_raw_super(struct f2fs_sb_info *sbi, return 1; } /* check log blocks per segment */ if (le32_to_cpu(raw_super->log_blocks_per_seg) != 9) { f2fs_msg(sb, KERN_INFO, "Invalid log blocks per segment (%u)\n", le32_to_cpu(raw_super->log_blocks_per_seg)); return 1; } /* Currently, support 512/1024/2048/4096 bytes sector size */ if (le32_to_cpu(raw_super->log_sectorsize) > F2FS_MAX_LOG_SECTOR_SIZE || Loading Loading
fs/f2fs/super.c +8 −0 Original line number Diff line number Diff line Loading @@ -1454,6 +1454,14 @@ static int sanity_check_raw_super(struct f2fs_sb_info *sbi, return 1; } /* check log blocks per segment */ if (le32_to_cpu(raw_super->log_blocks_per_seg) != 9) { f2fs_msg(sb, KERN_INFO, "Invalid log blocks per segment (%u)\n", le32_to_cpu(raw_super->log_blocks_per_seg)); return 1; } /* Currently, support 512/1024/2048/4096 bytes sector size */ if (le32_to_cpu(raw_super->log_sectorsize) > F2FS_MAX_LOG_SECTOR_SIZE || Loading