diff options
author | David Teigland <teigland@redhat.com> | 2021-11-03 16:02:38 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-11-04 11:09:29 -0500 |
commit | f40fd88374fe1e911233e5a4fc79223d97decde0 (patch) | |
tree | 7f2fcd14585195499f84b3de9ce9236b985ac9ef /lib/label | |
parent | d558b3ad7e6086480075b3bf750eba0ee66c78ec (diff) | |
download | lvm2-f40fd88374fe1e911233e5a4fc79223d97decde0.tar.gz |
move code from pvscan.c to online.c
related to managing files in /run/lvm/pvs_online
and /run/lvm/vgs_online
Diffstat (limited to 'lib/label')
-rw-r--r-- | lib/label/hints.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/label/hints.c b/lib/label/hints.c index c84bd1f1c..85e5ab1cb 100644 --- a/lib/label/hints.c +++ b/lib/label/hints.c @@ -146,6 +146,7 @@ #include "lib/label/hints.h" #include "lib/device/dev-type.h" #include "lib/device/device_id.h" +#include "lib/device/online.h" #include <sys/stat.h> #include <fcntl.h> @@ -156,8 +157,6 @@ #include <sys/file.h> #include <sys/sysmacros.h> -int online_pvid_file_read(char *path, int *major, int *minor, char *vgname); - static const char *_hints_file = DEFAULT_RUN_DIR "/hints"; static const char *_nohints_file = DEFAULT_RUN_DIR "/nohints"; static const char *_newhints_file = DEFAULT_RUN_DIR "/newhints"; |