1
0
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:
Alasdair Kergon 2012-01-24 14:53:59 +00:00
parent cb09dc1274
commit b05ae8b950

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;
}