Skip to contentSkip to conversation

multipath-tools/multipathd main.c

PATCH [email protected] 1 participant 1 message Oct 17, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: [email protected] 2008-10-17 18:37:54

Modified files:
multipathd : main.c

Log message:
Don't check the map flags for an orphaned path.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/multipathd/main.c.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.66.2.4&r2=1.66.2.5

multipathd/main.c +1 -1
@@ -863,7 +863,7 @@
 			break;
 		}
 	}
-	if (!found && mpp->flush_on_last_del == FLUSH_ENABLED) {	
+	if (mpp && !found && mpp->flush_on_last_del == FLUSH_ENABLED) {	
 		condlog(1, "%s: Last path deleted, disabling queueing",
 		        mpp->alias);
 		mpp->retry_tick = 0;