1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/label
David Teigland 4eb04c8c05 devices: fix dev_name assumptions
dev_name(dev) returns "[unknown]" if there are no names
on dev->aliases.  It's meant mainly for log messages.

Many places assume a valid path name is returned, and
use it directly.  A caller that wants to use the path
from dev_name() must first check if the dev has any
paths with dm_list_empty(&dev->aliases).
2022-02-24 17:22:04 -06:00
..
hints.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
hints.h vgchange -aay: optimize device list using pvs_online files 2021-11-05 12:19:35 -05:00
label.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
label.h label: cache dm device list 2021-12-20 16:13:28 +01:00