1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

wipe: zeroing of 8 sectors is granted

With do_zero min is always 8 sectors, so use 0 as default.
This commit is contained in:
Zdenek Kabelac 2020-09-15 16:38:50 +02:00
parent 7bcc994776
commit ec4e8b5c0e

View File

@ -533,7 +533,7 @@ int lv_add_integrity_to_raid(struct logical_volume *lv, struct integrity_setting
*/
for (s = 0; s < area_count; s++) {
struct logical_volume *meta_lv;
struct wipe_params wipe = { .do_zero = 1, .zero_sectors = 8 };
struct wipe_params wipe = { .do_zero = 1 };
if (s >= DEFAULT_RAID_MAX_IMAGES)
goto_bad;