1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-09 12:58:41 +03:00
lvm2/lib/metadata
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
..
2021-09-13 12:34:41 +02:00
2021-09-27 18:56:14 +02:00
2022-02-16 01:00:36 +01:00
2022-02-24 17:22:04 -06:00
2016-01-21 12:11:37 +01:00
2022-02-24 17:22:04 -06:00
2021-07-28 00:49:28 +02:00
2021-08-16 11:31:15 -05:00
2021-08-16 11:31:15 -05:00
2021-10-06 15:43:31 +02:00
2018-06-05 16:23:18 +02:00
2021-09-09 15:24:15 +02:00
2022-02-24 17:22:04 -06:00