Skip to contentSkip to conversation

main - cleanup: indent

PATCH Zdenek Kabelac 1 participant 1 message Apr 23, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=05eb90db68dcaa89fbfcce52cf122f25488ee69f
Commit:        05eb90db68dcaa89fbfcce52cf122f25488ee69f
Parent:        fccd6e034625dade9ca302f2fcd99eb32d90974f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Apr 23 19:45:34 2021 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Apr 23 23:00:55 2021 +0200

cleanup: indent

---
 lib/label/label.c | 2 +-
 tools/vgsplit.c   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
lib/label/label.c +1 -1
index 203c5b6bb..9ebbb4ec9 100644
@@ -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);
 
 	/*
tools/vgsplit.c +2 -2
index 8a785bdbd..296248e7c 100644
@@ -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;