Blame SOURCES/0016-multipathd-don-t-rescan_path-on-wwid-change-in-uev_u.patch

68b27c
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
68b27c
From: Benjamin Marzinski <bmarzins@redhat.com>
68b27c
Date: Fri, 14 May 2021 13:45:28 -0500
68b27c
Subject: [PATCH] multipathd: don't rescan_path on wwid change in
68b27c
 uev_update_path
68b27c
68b27c
If get_uid() is returning a different wwid in uev_update_path(), then
68b27c
the uid_attribute must have already gotten updated, which was the
68b27c
purpose behind calling rescan_path() in the first place.
68b27c
68b27c
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
68b27c
---
68b27c
 multipathd/main.c | 1 -
68b27c
 1 file changed, 1 deletion(-)
68b27c
68b27c
diff --git a/multipathd/main.c b/multipathd/main.c
68b27c
index 8e2beddd..2750f5e9 100644
68b27c
--- a/multipathd/main.c
68b27c
+++ b/multipathd/main.c
68b27c
@@ -1359,7 +1359,6 @@ uev_update_path (struct uevent *uev, struct vectors * vecs)
68b27c
 			condlog(0, "%s: path wwid changed from '%s' to '%s'",
68b27c
 				uev->kernel, wwid, pp->wwid);
68b27c
 			ev_remove_path(pp, vecs, 1);
68b27c
-			rescan_path(uev->udev);
68b27c
 			needs_reinit = 1;
68b27c
 			goto out;
68b27c
 		} else {