mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Explicitely ignore fail from this label_read
This commit is contained in:
parent
d2ebc1dfa0
commit
7038d527a6
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