LVM2/lib/cache lvmcache.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-12-08 23:18:00
Modified files:
lib/cache : lvmcache.c
Log message:
When dropping the VG metadata from the cache during a VG revert, we must reset the 'precomitted' flag, just as we'd clear if we next did a 'commit'.
lib/cache/lvmcache.c +4 -0
@@ -205,6 +205,10 @@ info->status |=CACHE_INVALID ;_free_cached_vgmetadata (vginfo); + +/* VG revert */ +if (drop_precommitted) + vginfo->precommitted =0 ; }/*