mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
cleanup: indent
This commit is contained in:
parent
25cea92338
commit
9974136b90
@ -2506,7 +2506,7 @@ static int _add_new_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
|||||||
dinfo->open_count)) {
|
dinfo->open_count)) {
|
||||||
if (seg_is_thin_volume(seg) ||
|
if (seg_is_thin_volume(seg) ||
|
||||||
/* FIXME Is there anything simpler to check for instead? */
|
/* FIXME Is there anything simpler to check for instead? */
|
||||||
!lv_has_target_type(dm->mem, lv, NULL, "snapshot-merge"))
|
!lv_has_target_type(dm->mem, lv, NULL, "snapshot-merge"))
|
||||||
laopts->no_merging = 1;
|
laopts->no_merging = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2562,7 +2562,7 @@ static int _add_new_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
|
|||||||
return_0;
|
return_0;
|
||||||
if (!laopts->no_merging && lv_is_merging_origin(lv)) {
|
if (!laopts->no_merging && lv_is_merging_origin(lv)) {
|
||||||
if (!_add_new_lv_to_dtree(dm, dtree,
|
if (!_add_new_lv_to_dtree(dm, dtree,
|
||||||
find_snapshot(lv)->cow, laopts, "cow"))
|
find_snapshot(lv)->cow, laopts, "cow"))
|
||||||
return_0;
|
return_0;
|
||||||
/*
|
/*
|
||||||
* Must also add "real" LV for use when
|
* Must also add "real" LV for use when
|
||||||
|
Loading…
Reference in New Issue
Block a user