mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Caller is still entitled to reference an LV that's unlinked, so don't
tamper with struct contents.
This commit is contained in:
parent
6cf3274732
commit
3f61871f38
@ -3111,8 +3111,6 @@ int unlink_lv_from_vg(struct logical_volume *lv)
|
|||||||
|
|
||||||
dm_list_del(&lvl->list);
|
dm_list_del(&lvl->list);
|
||||||
|
|
||||||
lv->status = 0; /* Reset */
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user