diff --git a/WHATS_NEW b/WHATS_NEW index 447ac8b61..5e95fca14 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.15 - ==================================== + Fix a label_verify error path. Version 2.02.14 - 10th November 2006 ==================================== diff --git a/lib/label/label.c b/lib/label/label.c index 907f170a2..f6fb6d1ee 100644 --- a/lib/label/label.c +++ b/lib/label/label.c @@ -347,13 +347,11 @@ int label_verify(struct device *dev) int r = 0; if (!dev_open(dev)) { - stack; - if ((info = info_from_pvid(dev->pvid))) lvmcache_update_vgname_and_id(info, ORPHAN, ORPHAN, 0, NULL); - goto out; + return_0; } if (!(l = _find_labeller(dev, buf, §or)))