summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-04-23 19:45:34 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-04-23 23:00:55 +0200
commit05eb90db68dcaa89fbfcce52cf122f25488ee69f (patch)
tree96e5980b167db42fe6b6d1cf74ca310f2cc91b3b
parentfccd6e034625dade9ca302f2fcd99eb32d90974f (diff)
downloadlvm2-05eb90db68dcaa89fbfcce52cf122f25488ee69f.tar.gz
cleanup: indent
-rw-r--r--lib/label/label.c2
-rw-r--r--tools/vgsplit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/label/label.c b/lib/label/label.c
index 203c5b6bb..9ebbb4ec9 100644
--- a/lib/label/label.c
+++ b/lib/label/label.c
@@ -1097,7 +1097,7 @@ int label_scan(struct cmd_context *cmd)
* so this will usually do nothing.
*/
label_scan_invalidate(dev);
- };
+ }
dev_iter_destroy(iter);
/*
diff --git a/tools/vgsplit.c b/tools/vgsplit.c
index 8a785bdbd..296248e7c 100644
--- a/tools/vgsplit.c
+++ b/tools/vgsplit.c
@@ -311,7 +311,7 @@ static int _move_raids(struct volume_group *vg_from,
/* Ignore, if no allocations on PVs of @vg_to */
if (!lv_is_on_pvs(lv, &vg_to->pvs))
continue;
-
+
/* If allocations are on PVs of @vg_to -> move RAID LV stack across */
if (!_move_one_lv(vg_from, vg_to, lvh, &lvht))
return_0;
@@ -460,7 +460,7 @@ static int _move_cache(struct volume_group *vg_from,
!lv_is_on_pvs(meta, &vg_to->pvs))
continue;
}
-
+
if (fast && orig &&
!lv_is_on_pvs(orig, &vg_to->pvs) && !lv_is_on_pvs(fast, &vg_to->pvs))
continue;