All of lore.kernel.org
 help / color / mirror / Atom feed
* master - vgsplit: Mark cache moving code NOTREACHED.
@ 2014-04-04  0:19 Alasdair Kergon
  0 siblings, 0 replies; only message in thread
From: Alasdair Kergon @ 2014-04-04  0:19 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e7b8e0a10c500f94f8d7815d83d88f0a45f2c570
Commit:        e7b8e0a10c500f94f8d7815d83d88f0a45f2c570
Parent:        6d2a26f6b6031f275b89a0210a9c5436e006a544
Author:        Alasdair G Kergon <agk@redhat.com>
AuthorDate:    Fri Apr 4 01:19:04 2014 +0100
Committer:     Alasdair G Kergon <agk@redhat.com>
CommitterDate: Fri Apr 4 01:19:04 2014 +0100

vgsplit: Mark cache moving code NOTREACHED.

---
 tools/vgsplit.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/vgsplit.c b/tools/vgsplit.c
index 150be1d..9d26079 100644
--- a/tools/vgsplit.c
+++ b/tools/vgsplit.c
@@ -299,6 +299,8 @@ static int _move_cache(struct volume_group *vg_from,
 		log_error("Unable to split VG while it contains cache LVs");
 		return 0;
 
+		/* NOTREACHED */
+
 		if (lv_is_cache(lv)) {
 			orig = seg_lv(seg, 0);
 			data = seg_lv(first_seg(seg->pool_lv), 0);



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-04-04  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04  0:19 master - vgsplit: Mark cache moving code NOTREACHED Alasdair Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.