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

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