1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

Fix a label_verify error path.

This commit is contained in:
Alasdair Kergon 2006-11-14 15:03:07 +00:00
parent 3b2765395d
commit deb202bd42
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.15 -
====================================
Fix a label_verify error path.
Version 2.02.14 - 10th November 2006
====================================

View File

@ -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, &sector)))