diff --git a/0014-bugfix-RH-remove-local-disk-from-pathvec.patch b/0014-bugfix-RH-remove-local-disk-from-pathvec.patch index 7be4ad725a3c8dce7653c5f46b331ed7b74694d8..caa5513fa3a72f78364807eb97d72924e995542e 100644 --- a/0014-bugfix-RH-remove-local-disk-from-pathvec.patch +++ b/0014-bugfix-RH-remove-local-disk-from-pathvec.patch @@ -161,7 +161,7 @@ index ee3290c..c49848e 100644 return rc; + + /* free local device */ -+ if (transport(pp->sg_id.host_no)) { ++ if (get_should_remove_local_disk() && transport(pp->sg_id.host_no)) { + condlog(3, "%s is a local device", pp->dev); + return 0; + } diff --git a/multipath-tools.spec b/multipath-tools.spec index 1b328436610e4d9cf04ae74a02b58816e08d59d0..c5a83577c59b506779baa5475c6acf96564d8e69 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,8 +1,8 @@ Name: multipath-tools Version: 0.8.4 -Release: 5 +Release: 6 Summary: Tools to manage multipath devices with the device-mapper -License: GPLv2-or-later and LGPLv2+ +License: GPL-2.0-or-later and LGPL-2.0-only URL: http://christophe.varoqui.free.fr/ # curl "https://git.opensvc.com/gitweb.cgi?p=multipath-tools/.git;a=snapshot;h=d4915917655b3d205aa0e339ca13080ed8182d0d;sf=tgz" -o multipath-tools-d491591.tgz @@ -174,6 +174,12 @@ fi %changelog +* Tue Jul 20 2021 lixiaokeng - 0.8.4-6 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:add check remove_local_disk before transport in pathinfo + * Tue Nov 10 2020 Ming Yang - 0.8.4-5 - Type:bugfix - ID:NA