mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-28 02:50:41 +03:00
vgsplit: Mark cache moving code NOTREACHED.
This commit is contained in:
parent
6d2a26f6b6
commit
e7b8e0a10c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user