summaryrefslogtreecommitdiff
path: root/lib/label
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2021-11-03 16:02:38 -0500
committerDavid Teigland <teigland@redhat.com>2021-11-04 11:09:29 -0500
commitf40fd88374fe1e911233e5a4fc79223d97decde0 (patch)
tree7f2fcd14585195499f84b3de9ce9236b985ac9ef /lib/label
parentd558b3ad7e6086480075b3bf750eba0ee66c78ec (diff)
downloadlvm2-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.c3
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";