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:
parent
fe21b02fab
commit
9fcbe3c6f0
@ -280,7 +280,7 @@ int label_read(struct device *dev, struct label **result,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!(l = _find_labeller(dev, buf, §or, scan_sector)))
|
if (!(l = _find_labeller(dev, buf, §or, scan_sector)))
|
||||||
goto out;
|
goto_out;
|
||||||
|
|
||||||
if ((r = (l->ops->read)(l, dev, buf, result)) && result && *result) {
|
if ((r = (l->ops->read)(l, dev, buf, result)) && result && *result) {
|
||||||
(*result)->dev = dev;
|
(*result)->dev = dev;
|
||||||
|
Loading…
Reference in New Issue
Block a user