b8e90c4bbc
Add 0010-libmultipath-print-correct-default-for-delay_-_check.patch * fix minor configuration printing issue Add 0011-multipath.conf.5-clarify-property-whitelist-handling.patch * clarify property blacklist_excecptions handling in man page Rename files * Previous patches 0010-0017 are now patches 0012-0019 Modify 0013-RH-Remove-the-property-blacklist-exception-builtin.patch * clarify changes in man page
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Date: Mon, 7 May 2018 17:16:05 -0500
|
|
Subject: [PATCH] libmultipath: print correct default for delay_*_checks
|
|
|
|
These options default to "no", so they should display that when the
|
|
config is printed.
|
|
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
libmultipath/dict.c | 6 ++++--
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/libmultipath/dict.c b/libmultipath/dict.c
|
|
index 1a18337..8f9944a 100644
|
|
--- a/libmultipath/dict.c
|
|
+++ b/libmultipath/dict.c
|
|
@@ -1067,7 +1067,8 @@ print_off_int_undef(char * buff, int len, long v)
|
|
}
|
|
|
|
declare_def_handler(delay_watch_checks, set_off_int_undef)
|
|
-declare_def_snprint(delay_watch_checks, print_off_int_undef)
|
|
+declare_def_snprint_defint(delay_watch_checks, print_off_int_undef,
|
|
+ DEFAULT_DELAY_CHECKS)
|
|
declare_ovr_handler(delay_watch_checks, set_off_int_undef)
|
|
declare_ovr_snprint(delay_watch_checks, print_off_int_undef)
|
|
declare_hw_handler(delay_watch_checks, set_off_int_undef)
|
|
@@ -1075,7 +1076,8 @@ declare_hw_snprint(delay_watch_checks, print_off_int_undef)
|
|
declare_mp_handler(delay_watch_checks, set_off_int_undef)
|
|
declare_mp_snprint(delay_watch_checks, print_off_int_undef)
|
|
declare_def_handler(delay_wait_checks, set_off_int_undef)
|
|
-declare_def_snprint(delay_wait_checks, print_off_int_undef)
|
|
+declare_def_snprint_defint(delay_wait_checks, print_off_int_undef,
|
|
+ DEFAULT_DELAY_CHECKS)
|
|
declare_ovr_handler(delay_wait_checks, set_off_int_undef)
|
|
declare_ovr_snprint(delay_wait_checks, print_off_int_undef)
|
|
declare_hw_handler(delay_wait_checks, set_off_int_undef)
|
|
--
|
|
2.7.4
|
|
|