f2fs: zone: fix to remove pow2 check condition for zoned block device
[linux-2.6-microblaze.git] / fs / f2fs / super.c
index 78a7658..c4c4c95 100644 (file)
@@ -3868,11 +3868,6 @@ static int init_blkz_info(struct f2fs_sb_info *sbi, int devi)
                return 0;
 
        zone_sectors = bdev_zone_sectors(bdev);
-       if (!is_power_of_2(zone_sectors)) {
-               f2fs_err(sbi, "F2FS does not support non power of 2 zone sizes\n");
-               return -EINVAL;
-       }
-
        if (sbi->blocks_per_blkz && sbi->blocks_per_blkz !=
                                SECTOR_TO_BLOCK(zone_sectors))
                return -EINVAL;