mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
validation: temporarily let pass linear with chunk_size
Old pool format seems to be setting chunk_size. For now let validation pass with this.
This commit is contained in:
parent
95d68f1d0e
commit
14902d1739
@ -440,6 +440,8 @@ static void _check_lv_segment(struct logical_volume *lv, struct lv_segment *seg,
|
||||
}
|
||||
|
||||
if (!seg_is_pool(seg) &&
|
||||
/* FIXME: format_pool/import_export.c _add_linear_seg() sets chunk_size */
|
||||
!seg_is_linear(seg) &&
|
||||
!seg_is_snapshot(seg)) {
|
||||
if (seg->chunk_size)
|
||||
seg_error("sets chunk_size");
|
||||
|
Loading…
Reference in New Issue
Block a user