mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
Fix an extra dev_close in a label_read error path.
This commit is contained in:
parent
4cd33f98a4
commit
9f100d6028
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.07 -
|
Version 2.02.07 -
|
||||||
=================================
|
=================================
|
||||||
|
Fix an extra dev_close in a label_read error path.
|
||||||
Append patches to commit emails.
|
Append patches to commit emails.
|
||||||
Fix target_register_events args.
|
Fix target_register_events args.
|
||||||
Prevent snapshots of mirrors.
|
Prevent snapshots of mirrors.
|
||||||
|
@ -271,7 +271,7 @@ int label_read(struct device *dev, struct label **result)
|
|||||||
lvmcache_update_vgname_and_id(info, ORPHAN, ORPHAN,
|
lvmcache_update_vgname_and_id(info, ORPHAN, ORPHAN,
|
||||||
0, NULL);
|
0, NULL);
|
||||||
|
|
||||||
goto out;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(l = _find_labeller(dev, buf, §or)))
|
if (!(l = _find_labeller(dev, buf, §or)))
|
||||||
|
Loading…
Reference in New Issue
Block a user