fsck.f2fs: remove duplicated codes in sanity_check_raw_super
PATCH 1/1 fsck.f2fs: remove duplicated codes in sanity_check_raw_super
Remove duplicated codes in sanity_check_raw_super().
Signed-off-by Junling Zheng <[email protected]>
--- fsck/mount.c | 4 ---- 1 file changed, 4 deletions(-)
fsck/mount.c +0 -4
@@ -376,10 +376,6 @@ int sanity_check_raw_super(struct f2fs_super_block *sb, u64 offset)if (get_sb (log_blocks_per_seg) !=9 )return -1 ; -if (get_sb (log_sectorsize) >F2FS_MAX_LOG_SECTOR_SIZE || -get_sb (log_sectorsize) <F2FS_MIN_LOG_SECTOR_SIZE ) -return -1 ; -/* Currently, support 512/1024/2048/4096 bytes sector size */ if (get_sb (log_sectorsize) >F2FS_MAX_LOG_SECTOR_SIZE ||get_sb (log_sectorsize) <F2FS_MIN_LOG_SECTOR_SIZE )
Signature · 9 lines
1.9.1 ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z