summaryrefslogtreecommitdiff
path: root/multipath/main.c
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2022-01-14 13:50:17 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2022-01-14 13:50:17 +0900
commit28bc88e5da7ffd00fcdac1d23c729d19e646f3fd (patch)
tree6168d694321e5124e62bab14e1ab14a58ad26acf /multipath/main.c
parentc0050816c16d25f8143a791d1bb74e16af67c272 (diff)
downloadmultipath-tools-28bc88e5da7ffd00fcdac1d23c729d19e646f3fd.tar.gz
multipath-tools-28bc88e5da7ffd00fcdac1d23c729d19e646f3fd.tar.bz2
multipath-tools-28bc88e5da7ffd00fcdac1d23c729d19e646f3fd.zip
Imported Upstream version 0.7.2upstream/0.7.2
Diffstat (limited to 'multipath/main.c')
-rw-r--r--multipath/main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/multipath/main.c b/multipath/main.c
index 4174d43..dede017 100644
--- a/multipath/main.c
+++ b/multipath/main.c
@@ -634,12 +634,6 @@ main (int argc, char *argv[])
exit(1);
}
- dm_init(conf->verbosity);
- if (dm_prereq())
- exit(1);
- dm_drv_version(conf->version, TGT_MPATH);
- dm_udev_set_sync_support(1);
-
if (optind < argc) {
dev = MALLOC(FILE_NAME_SIZE);
@@ -670,6 +664,8 @@ main (int argc, char *argv[])
conf->max_fds, strerror(errno));
}
+ libmp_udev_set_sync_support(1);
+
if (init_checkers(conf->multipath_dir)) {
condlog(0, "failed to initialize checkers");
goto out;