1
0
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:
Alasdair Kergon 2012-01-24 14:53:59 +00:00
parent 6cf3274732
commit 3f61871f38

View File

@ -3111,8 +3111,6 @@ int unlink_lv_from_vg(struct logical_volume *lv)
dm_list_del(&lvl->list);
lv->status = 0; /* Reset */
return 1;
}