Blame SOURCES/0109-RH-read-only-bindings.patch
|
|
ecd2a9 |
---
|
|
|
ecd2a9 |
multipathd/main.c | 5 ++++-
|
|
|
ecd2a9 |
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
ecd2a9 |
|
|
|
ecd2a9 |
Index: multipath-tools-130222/multipathd/main.c
|
|
|
ecd2a9 |
===================================================================
|
|
|
ecd2a9 |
--- multipath-tools-130222.orig/multipathd/main.c
|
|
|
ecd2a9 |
+++ multipath-tools-130222/multipathd/main.c
|
|
|
ecd2a9 |
@@ -1879,7 +1879,7 @@ main (int argc, char *argv[])
|
|
|
ecd2a9 |
if (!conf)
|
|
|
ecd2a9 |
exit(1);
|
|
|
ecd2a9 |
|
|
|
ecd2a9 |
- while ((arg = getopt(argc, argv, ":dv:k::")) != EOF ) {
|
|
|
ecd2a9 |
+ while ((arg = getopt(argc, argv, ":dv:k::B")) != EOF ) {
|
|
|
ecd2a9 |
switch(arg) {
|
|
|
ecd2a9 |
case 'd':
|
|
|
ecd2a9 |
logsink = 0;
|
|
|
ecd2a9 |
@@ -1895,6 +1895,9 @@ main (int argc, char *argv[])
|
|
|
ecd2a9 |
case 'k':
|
|
|
ecd2a9 |
uxclnt(optarg);
|
|
|
ecd2a9 |
exit(0);
|
|
|
ecd2a9 |
+ case 'B':
|
|
|
ecd2a9 |
+ conf->bindings_read_only = 1;
|
|
|
ecd2a9 |
+ break;
|
|
|
ecd2a9 |
default:
|
|
|
ecd2a9 |
;
|
|
|
ecd2a9 |
}
|