LVM2/lib/metadata lv_manip.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2011-09-16 11:59:22
Modified files:
lib/metadata : lv_manip.c
Log message:
Reset LV status when unlinking LV from VG
When LV is unlinked, we want to catch problem in vg_validate, that LV has changed.
i.e. catch LV has been removed and is no long thin_pool while still being referenced by some thin volume.
lib/metadata/lv_manip.c +2 -0
@@ -3028,6 +3028,8 @@dm_list_del (&lvl->list); + lv->status =0 ;/* Reset */ +return 1 ; }