diff mbox series

multipath-tools: fix c&p error in install_keyword for deprecated pg_timeout

Message ID 20221104231234.111216-1-xose.vazquez@gmail.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools: fix c&p error in install_keyword for deprecated pg_timeout | expand

Commit Message

Xose Vazquez Perez Nov. 4, 2022, 11:12 p.m. UTC
Cc: Martin Wilck <mwilck@suse.com>
Cc: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: DM-DEVEL ML <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 libmultipath/dict.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Benjamin Marzinski Nov. 9, 2022, 12:48 a.m. UTC | #1
On Sat, Nov 05, 2022 at 12:12:34AM +0100, Xose Vazquez Perez wrote:
> Cc: Martin Wilck <mwilck@suse.com>
> Cc: Benjamin Marzinski <bmarzins@redhat.com>
> Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
> Cc: DM-DEVEL ML <dm-devel@redhat.com>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
> ---
>  libmultipath/dict.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/libmultipath/dict.c b/libmultipath/dict.c
> index 6fc77315..97f43387 100644
> --- a/libmultipath/dict.c
> +++ b/libmultipath/dict.c
> @@ -2103,7 +2103,7 @@ init_keywords(vector keywords)
>  	install_keyword("no_path_retry", &hw_no_path_retry_handler, &snprint_hw_no_path_retry);
>  	install_keyword("rr_min_io", &hw_minio_handler, &snprint_hw_minio);
>  	install_keyword("rr_min_io_rq", &hw_minio_rq_handler, &snprint_hw_minio_rq);
> -	install_keyword("pg_timeout", &deprecated_handler, &snprint_deprecated);
> +	install_keyword("pg_timeout", &deprecated_pg_timeout_handler, &snprint_deprecated);
>  	install_keyword("flush_on_last_del", &hw_flush_on_last_del_handler, &snprint_hw_flush_on_last_del);
>  	install_keyword("fast_io_fail_tmo", &hw_fast_io_fail_handler, &snprint_hw_fast_io_fail);
>  	install_keyword("dev_loss_tmo", &hw_dev_loss_handler, &snprint_hw_dev_loss);
> @@ -2192,7 +2192,7 @@ init_keywords(vector keywords)
>  	install_keyword("no_path_retry", &mp_no_path_retry_handler, &snprint_mp_no_path_retry);
>  	install_keyword("rr_min_io", &mp_minio_handler, &snprint_mp_minio);
>  	install_keyword("rr_min_io_rq", &mp_minio_rq_handler, &snprint_mp_minio_rq);
> -	install_keyword("pg_timeout", &deprecated_handler, &snprint_deprecated);
> +	install_keyword("pg_timeout", &deprecated_pg_timeout_handler, &snprint_deprecated);
>  	install_keyword("flush_on_last_del", &mp_flush_on_last_del_handler, &snprint_mp_flush_on_last_del);
>  	install_keyword("features", &mp_features_handler, &snprint_mp_features);
>  	install_keyword("mode", &mp_mode_handler, &snprint_mp_mode);
> -- 
> 2.38.1
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
diff mbox series

Patch

diff --git a/libmultipath/dict.c b/libmultipath/dict.c
index 6fc77315..97f43387 100644
--- a/libmultipath/dict.c
+++ b/libmultipath/dict.c
@@ -2103,7 +2103,7 @@  init_keywords(vector keywords)
 	install_keyword("no_path_retry", &hw_no_path_retry_handler, &snprint_hw_no_path_retry);
 	install_keyword("rr_min_io", &hw_minio_handler, &snprint_hw_minio);
 	install_keyword("rr_min_io_rq", &hw_minio_rq_handler, &snprint_hw_minio_rq);
-	install_keyword("pg_timeout", &deprecated_handler, &snprint_deprecated);
+	install_keyword("pg_timeout", &deprecated_pg_timeout_handler, &snprint_deprecated);
 	install_keyword("flush_on_last_del", &hw_flush_on_last_del_handler, &snprint_hw_flush_on_last_del);
 	install_keyword("fast_io_fail_tmo", &hw_fast_io_fail_handler, &snprint_hw_fast_io_fail);
 	install_keyword("dev_loss_tmo", &hw_dev_loss_handler, &snprint_hw_dev_loss);
@@ -2192,7 +2192,7 @@  init_keywords(vector keywords)
 	install_keyword("no_path_retry", &mp_no_path_retry_handler, &snprint_mp_no_path_retry);
 	install_keyword("rr_min_io", &mp_minio_handler, &snprint_mp_minio);
 	install_keyword("rr_min_io_rq", &mp_minio_rq_handler, &snprint_mp_minio_rq);
-	install_keyword("pg_timeout", &deprecated_handler, &snprint_deprecated);
+	install_keyword("pg_timeout", &deprecated_pg_timeout_handler, &snprint_deprecated);
 	install_keyword("flush_on_last_del", &mp_flush_on_last_del_handler, &snprint_mp_flush_on_last_del);
 	install_keyword("features", &mp_features_handler, &snprint_mp_features);
 	install_keyword("mode", &mp_mode_handler, &snprint_mp_mode);