Re: [PATCH] multipath-tools: fix c&p error in install_keyword for deprecated pg_timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 05, 2022 at 12:12:34AM +0100, Xose Vazquez Perez wrote:
> Cc: Martin Wilck <mwilck@xxxxxxxx>
> Cc: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
> Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
> Cc: DM-DEVEL ML <dm-devel@xxxxxxxxxx>
> Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
Reviewed-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux