1
0
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:
Alasdair Kergon 2006-06-08 22:15:49 +00:00
parent 4cd33f98a4
commit 9f100d6028
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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, &sector))) if (!(l = _find_labeller(dev, buf, &sector)))