From f0833d1f374bf67fa0eb7c1b1be5004086990cc8 Mon Sep 17 00:00:00 2001 From: Christophe Varoqui Date: Mon, 27 Nov 2006 23:12:04 +0100 Subject: [PATCH] [multipath] correctness "multipath -ll" fix Just a simple change to multipath/main.c:update_paths() to set the mpp field of each path so that the immediately following call to pathinfo() will call get_state() on a path with its mpp field set. This enables "multipath -ll" to utilize the shared context field of the multipath struct. Edward Goggin, EMC --- multipath/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/multipath/main.c b/multipath/main.c index accb230..7de89a7 100644 --- a/multipath/main.c +++ b/multipath/main.c @@ -128,6 +128,7 @@ update_paths (struct multipath * mpp) pp->state = PATH_DOWN; continue; } + pp->mpp = mpp; pathinfo(pp, conf->hwtable, DI_ALL); continue; } -- 2.7.4