diff --git a/WHATS_NEW b/WHATS_NEW index e576bc649..5293f7ebd 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.07 - ================================= + Fix an extra dev_close in a label_read error path. Append patches to commit emails. Fix target_register_events args. Prevent snapshots of mirrors. diff --git a/lib/label/label.c b/lib/label/label.c index 3709e1cfc..907f170a2 100644 --- a/lib/label/label.c +++ b/lib/label/label.c @@ -271,7 +271,7 @@ int label_read(struct device *dev, struct label **result) lvmcache_update_vgname_and_id(info, ORPHAN, ORPHAN, 0, NULL); - goto out; + return r; } if (!(l = _find_labeller(dev, buf, §or)))