mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 04:20:23 +09:00
ANDROID: Revert "f2fs: ensure only power of 2 zone sizes are allowed"
This reverts commit f634322eac.
Bug: 197782466
Bug: 269471019
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I39390fa3d145ca7761ec2b4a0f405fc84ce81206
This commit is contained in:
@@ -3746,10 +3746,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))
|
||||
|
||||
Reference in New Issue
Block a user