1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/activate
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
..
activate.c label: cache dm device list 2021-12-20 16:13:28 +01:00
activate.h activate: add get_device_list 2021-12-20 16:13:28 +01:00
dev_manager.c devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
dev_manager.h activate: add get_device_list 2021-12-20 16:13:28 +01:00
fs.c gcc: use more zero length arrays 2021-09-22 17:18:50 +02:00
fs.h build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
targets.h doc: change fsf address 2016-01-21 12:11:37 +01:00