mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-11 09:18:25 +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
cb09dc1274
commit
b05ae8b950
@ -3111,8 +3111,6 @@ int unlink_lv_from_vg(struct logical_volume *lv)
|
||||
|
||||
dm_list_del(&lvl->list);
|
||||
|
||||
lv->status = 0; /* Reset */
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user