mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Explicitely ignore fail from this label_read
This commit is contained in:
parent
d102667b6d
commit
d27834ff0a
2
lib/cache/lvmcache.c
vendored
2
lib/cache/lvmcache.c
vendored
@ -498,7 +498,7 @@ const struct format_type *lvmcache_fmt_from_vgname(struct cmd_context *cmd,
|
||||
|
||||
dm_list_iterate_safe(devh, tmp, &devs) {
|
||||
devl = dm_list_item(devh, struct device_list);
|
||||
label_read(devl->dev, &label, UINT64_C(0));
|
||||
(void) label_read(devl->dev, &label, UINT64_C(0));
|
||||
dm_list_del(&devl->list);
|
||||
dm_free(devl);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user