[dm-devel] [PATCH 08/42] libmultipath: Fix typo in mp_prio_handler()
Hannes Reinecke
hare at suse.de
Tue Jan 8 13:53:46 UTC 2013
The mpentry is found in conf->mptable, not conf->hwtable.
Signed-off-by: Hannes Reinecke <hare at suse.de>
---
libmultipath/dict.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libmultipath/dict.c b/libmultipath/dict.c
index ebc49a3..fe1362e 100644
--- a/libmultipath/dict.c
+++ b/libmultipath/dict.c
@@ -1622,7 +1622,7 @@ mp_flush_on_last_del_handler(vector strvec)
static int
mp_prio_handler(vector strvec)
{
- struct mpentry * mpe = VECTOR_LAST_SLOT(conf->hwtable);
+ struct mpentry * mpe = VECTOR_LAST_SLOT(conf->mptable);
if (!mpe)
return 1;
--
1.7.4.2
More information about the dm-devel
mailing list