1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
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-04-23 23:00:55 +02:00
2021-09-27 18:56:14 +02:00
2022-02-24 17:22:04 -06:00
2022-01-27 16:43:11 -06:00
2016-12-10 18:00:25 +00:00