mirror of
https://gitee.com/openharmony/third_party_f2fs-tools
synced 2024-11-23 10:10:00 +00:00
f2fs-tools: relax zone size of power of 2
Let's relax this for Android support. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
ca912d6446
commit
53055e6db1
@ -1047,12 +1047,9 @@ int get_device_info(int i)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_power_of_2(dev->zone_size)) {
|
if (!is_power_of_2(dev->zone_size))
|
||||||
MSG(0, "\tError: zoned: illegal zone size %" PRIu64 "u (not a power of 2)\n",
|
MSG(0, "\tInfo: zoned: zone size %" PRIu64 "u (not a power of 2)\n",
|
||||||
dev->zone_size);
|
dev->zone_size);
|
||||||
free(stat_buf);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check zone configuration: for the first disk of a
|
* Check zone configuration: for the first disk of a
|
||||||
|
Loading…
Reference in New Issue
Block a user