Blame SOURCES/sid-0-0-5-modules-ucmd-dm_mpath-sync-with-mpath_valid-changes.patch

4b6366
commit 8bb6f6fd35342ab070d1a8a8ac4f2dbd18b7c063
4b6366
Author: Peter Rajnoha <prajnoha@redhat.com>
4b6366
Date:   Mon Jan 25 10:42:45 2021 +0100
4b6366
4b6366
    modules: ucmd: dm_mpath: sync with mpath_valid changes
4b6366
    
4b6366
    Use symbolic MPATH_LOG_PRIO_NOLOG (instead of '-1') and MPATH_LOG_STDERR
4b6366
    (instead of MPATH_LOG_STDOUT which was removed) for mpathvalid_init
4b6366
    call.
4b6366
---
4b6366
 src/modules/ucmd/block/dm_mpath/dm_mpath.c | 2 +-
4b6366
 1 file changed, 1 insertion(+), 1 deletion(-)
4b6366
4b6366
diff --git a/src/modules/ucmd/block/dm_mpath/dm_mpath.c b/src/modules/ucmd/block/dm_mpath/dm_mpath.c
4b6366
index 2c474b6..a31fee0 100644
4b6366
--- a/src/modules/ucmd/block/dm_mpath/dm_mpath.c
4b6366
+++ b/src/modules/ucmd/block/dm_mpath/dm_mpath.c
4b6366
@@ -39,7 +39,7 @@ static int _dm_mpath_init(struct module *module, struct sid_ucmd_mod_ctx *ucmd_m
4b6366
 {
4b6366
 	log_debug(MID, "init");
4b6366
 	/* TODO - set up dm/udev logging */
4b6366
-	if (mpathvalid_init(-1, MPATH_LOG_STDIO)) {
4b6366
+	if (mpathvalid_init(MPATH_LOG_PRIO_NOLOG, MPATH_LOG_STDERR)) {
4b6366
 		log_error(MID, "failed to initialize mpathvalid");
4b6366
 		return -1;
4b6366
 	}