Blame SOURCES/0226-RH-allow-overrides-section.patch

526b4e
---
526b4e
 libmultipath/dict.c |   42 ++++++++++++++++++++++++++++++++++++++++++
526b4e
 1 file changed, 42 insertions(+)
526b4e
526b4e
Index: multipath-tools-130222/libmultipath/dict.c
526b4e
===================================================================
526b4e
--- multipath-tools-130222.orig/libmultipath/dict.c
526b4e
+++ multipath-tools-130222/libmultipath/dict.c
526b4e
@@ -3721,6 +3721,18 @@ snprint_bled_product (char * buff, int l
526b4e
 
526b4e
 #define __deprecated
526b4e
 
526b4e
+static int
526b4e
+nop_handler(vector strvec)
526b4e
+{
526b4e
+	return 0;
526b4e
+}
526b4e
+
526b4e
+static int
526b4e
+snprint_nop(char * buff, int len, void * data)
526b4e
+{
526b4e
+	return 0;
526b4e
+}
526b4e
+
526b4e
 void
526b4e
 init_keywords(void)
526b4e
 {
526b4e
@@ -3853,6 +3865,36 @@ init_keywords(void)
526b4e
 	install_keyword("unpriv_sgio", &hw_unpriv_sgio_handler, &snprint_hw_unpriv_sgio);
526b4e
 	install_sublevel_end();
526b4e
 
526b4e
+	install_keyword_root("overrides", &nop_handler);
526b4e
+	install_keyword("path_grouping_policy", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("uid_attribute", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("path_selector", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("path_checker", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("checker", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("alias_prefix", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("features", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("hardware_handler", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("prio", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("prio_args", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("failback", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("rr_weight", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("no_path_retry", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("rr_min_io", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("rr_min_io_rq", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("pg_timeout", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("flush_on_last_del", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("fast_io_fail_tmo", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("dev_loss_tmo", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("user_friendly_names", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("retain_attached_hw_handler", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("detect_prio", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("detect_path_checker", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("deferred_remove", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("delay_watch_checks", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("delay_wait_checks", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("skip_kpartx", &nop_handler, &snprint_nop);
526b4e
+	install_keyword("max_sectors_kb", &nop_handler, &snprint_nop);
526b4e
+
526b4e
 	install_keyword_root("multipaths", &multipaths_handler);
526b4e
 	install_keyword_multi("multipath", &multipath_handler, NULL);
526b4e
 	install_sublevel();