Message ID | TI8T_ijNQUzUt4vhmNUqgakWd1LJaKYxVmnFUF2dQs-DdTfLLEbaETdLQv3RjX8ur6T73gxM_arDIAiqD_bPoT01rfmxJ3d7UmHUj-aYyAs=@proton.me (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | christophe varoqui |
Headers | show |
Series | removed duplicate check for subsection devices | expand |
On Tue, 2024-08-13 at 11:09 +0000, spybull wrote: > Hello all > > From cd1c6223f05cd3f34b66fe6239d60e7bc3a5a428 Mon Sep 17 00:00:00 > 2001 > From: Babich Vladimir <spybull@proton.me> > Date: Tue, 13 Aug 2024 12:49:05 +0300 > Subject: [PATCH] removed duplicate check for subsection devices > Hm, your email client swallowed all the "||" operators. But I saw the correct patch under https://github.com/opensvc/multipath-tools/pull/93 So, Reviewed-by: Martin Wilck <mwilck@suse.com> Thanks!
diff --git a/libmpathutil/parser.c b/libmpathutil/parser.c index 29b212ce..b44bc301 100644 --- a/libmpathutil/parser.c +++ b/libmpathutil/parser.c @@ -406,8 +406,7 @@ int is_sublevel_keyword(char *str) { return (strcmp(str, "defaults") == 0 strcmp(str, "blacklist") == 0 - strcmp(str, "blacklist_exceptions") == 0 - strcmp(str, "devices") == 0 strcmp(str, "devices") == 0 + strcmp(str, "blacklist_exceptions") == 0 strcmp(str, "devices") == 0 strcmp(str, "device") == 0 strcmp(str, "multipaths") == 0 || strcmp(str, "multipath") == 0); }
Hello all From cd1c6223f05cd3f34b66fe6239d60e7bc3a5a428 Mon Sep 17 00:00:00 2001 From: Babich Vladimir <spybull@proton.me> Date: Tue, 13 Aug 2024 12:49:05 +0300 Subject: [PATCH] removed duplicate check for subsection devices --- libmpathutil/parser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)