1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
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 devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
cache handle duplicate vgids 2022-01-13 10:01:24 -06:00
cache_segtype gcc: remove invalid attribute 2021-09-13 12:34:41 +02:00
commands Revert "pvcreate: overwrite partition header with -f" 2022-01-18 12:15:03 -06:00
config asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
datastruct cleanup: eliminate unused assign 2021-03-11 00:18:01 +01:00
device devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
display gcc-fanalyzer: helping understand answer is not null 2021-09-21 21:03:47 +02:00
error device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
filters Revert "pvcreate: overwrite partition header with -f" 2022-01-18 12:15:03 -06:00
format_text asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
freeseg device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
integrity cleanup: no backtraces needed after log_error 2021-03-10 01:11:52 +01:00
label devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
locking devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
log print warning about unrecognized journal option value 2021-12-02 12:40:52 -06:00
lvmpolld device usage based on devices file 2021-02-23 16:43:32 -06:00
metadata devices: fix dev_name assumptions 2022-02-24 17:22:04 -06:00
mirror lv_info: missing check for info.exists 2021-03-14 16:34:38 +01:00
misc utils: define macro for ffs 2021-09-27 18:56:14 +02:00
mm debug: change message level 2021-09-15 15:24:56 +02:00
notify build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
properties build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
raid cleanup: reduce code dupliction 2021-03-19 23:21:18 +01:00
report writecache: display block size from lvs 2022-02-21 16:11:13 -06:00
snapshot typo: fixes 2021-02-08 23:53:41 +01:00
striped device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
thin targets: use target_present_version 2021-02-08 23:43:38 +01:00
unknown device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
uuid asan: fix some reports from libasan 2022-02-07 20:02:11 +01:00
vdo vdo: just one probe is enough 2021-02-17 11:21:35 +01:00
writecache typo: fixes 2021-02-08 23:53:41 +01:00
zero device_mapper: remove dbg_malloc. 2018-06-08 13:40:53 +01:00
Makefile.in move code from pvscan.c to online.c 2021-11-04 11:09:29 -05:00