1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: add missing backtrace in fail path

This commit is contained in:
Zdenek Kabelac 2013-12-10 20:49:53 +01:00
parent fe21b02fab
commit 9fcbe3c6f0

View File

@ -280,7 +280,7 @@ int label_read(struct device *dev, struct label **result,
}
if (!(l = _find_labeller(dev, buf, &sector, scan_sector)))
goto out;
goto_out;
if ((r = (l->ops->read)(l, dev, buf, result)) && result && *result) {
(*result)->dev = dev;