From d89d02b9304723cd7c675e938a56b509b68a906d Mon Sep 17 00:00:00 2001 From: kouwenqi Date: Thu, 21 Mar 2024 09:32:00 +0800 Subject: [PATCH] multipath-tools: fix spelling libmultipath/structs_vec.c:272: mulitpath ==> multipath libmultipath/libmultipath.version:36: overriden ==> overridden libmpathutil/libmpathutil.version:36: overriden ==> overridden SUMMARY: mulitpath 1 overriden 2 --- 0019-multipath-tools-fix-spelling.patch | 60 +++++++++++++++++++++++++ multipath-tools.spec | 6 ++- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 0019-multipath-tools-fix-spelling.patch diff --git a/0019-multipath-tools-fix-spelling.patch b/0019-multipath-tools-fix-spelling.patch new file mode 100644 index 0000000..591725b --- /dev/null +++ b/0019-multipath-tools-fix-spelling.patch @@ -0,0 +1,60 @@ +From 17e4856faac3d2385a93b3951f41f78356549b95 Mon Sep 17 00:00:00 2001 +From: kouwenqi +Date: Thu, 21 Mar 2024 09:08:20 +0800 +Subject: [PATCH] multipath-tools: fix spelling + +libmultipath/structs_vec.c:272: mulitpath ==> multipath +libmultipath/libmultipath.version:36: overriden ==> overridden +libmpathutil/libmpathutil.version:36: overriden ==> overridden + +SUMMARY: +mulitpath 1 +overriden 2 +--- + libmpathutil/libmpathutil.version | 2 +- + libmultipath/libmultipath.version | 2 +- + libmultipath/structs_vec.c | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/libmpathutil/libmpathutil.version b/libmpathutil/libmpathutil.version +index dd007be..68f5ab9 100644 +--- a/libmpathutil/libmpathutil.version ++++ b/libmpathutil/libmpathutil.version +@@ -33,7 +33,7 @@ + + /* + * Symbols exported by both libmpathutil and libmultipath +- * libmpathutil exports just dummy symbols, intended to be overriden ++ * libmpathutil exports just dummy symbols, intended to be overridden + * by those in libmultipath. + * CAUTION - the version in libmpathutil.version and libmultipath.version + * must be THE SAME, otherwise the overriding will fail! +diff --git a/libmultipath/libmultipath.version b/libmultipath/libmultipath.version +index ebf1482..f4fdeac 100644 +--- a/libmultipath/libmultipath.version ++++ b/libmultipath/libmultipath.version +@@ -33,7 +33,7 @@ + + /* + * Symbols exported by both libmpathutil and libmultipath +- * libmpathutil exports just dummy symbols, intended to be overriden ++ * libmpathutil exports just dummy symbols, intended to be overridden + * by those in libmultipath. + * CAUTION - the version in libmpathutil.version and libmultipath.version + * must be THE SAME, otherwise the overriding will fail! +diff --git a/libmultipath/structs_vec.c b/libmultipath/structs_vec.c +index 116caab..ec693bd 100644 +--- a/libmultipath/structs_vec.c ++++ b/libmultipath/structs_vec.c +@@ -269,7 +269,7 @@ int adopt_paths(vector pathvec, struct multipath *mpp) + if (mpp->queue_mode == QUEUE_MODE_RQ && + pp->bus == SYSFS_BUS_NVME && + pp->sg_id.proto_id == NVME_PROTOCOL_TCP) { +- condlog(2, "%s: mulitpath device %s created with request queue_mode. Unable to add nvme:tcp paths", ++ condlog(2, "%s: multipath device %s created with request queue_mode. Unable to add nvme:tcp paths", + pp->dev, mpp->alias); + continue; + } +-- +2.23.0 + diff --git a/multipath-tools.spec b/multipath-tools.spec index d24f1b4..5087da3 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,7 +1,7 @@ #needsrootforbuild Name: multipath-tools Version: 0.9.5 -Release: 1 +Release: 2 Summary: Tools to manage multipath devices with the device-mapper License: GPL-2.0-or-later and LGPL-2.0-only URL: http://christophe.varoqui.free.fr/ @@ -27,6 +27,7 @@ Patch15: 0015-clear-mpp-path-reference-when-path-is-freed-otherwis.patch Patch16: 0016-multipathd-Fixed-multipathd-parameter-invoking-seque.patch Patch17: 0017-libmultipath-io_err_stat-don-t-free-aio-memory-befor.patch Patch18: 0018-libmultipath-io_err_stat-call-io_destroy-inside-free.patch +Patch19: 0019-multipath-tools-fix-spelling.patch BuildRequires: multipath-tools, libcmocka, libcmocka-devel BuildRequires: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89 @@ -180,6 +181,9 @@ fi %changelog +* Thu Mar 21 2024 kouwenqi - 0.9.5-2 +- multipath-tools: fix spelling + * Mon Feb 5 2024 wangzhiqiang - 0.9.5-1 - upgrade version to 0.9.5: - add requires libmount and libmount-devel -- Gitee