Skip to contentSkip to conversation

device-mapper ./WHATS_NEW lib/libdm-deptree.c

PATCH [email protected] 1 participant 1 message Oct 13, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2006-10-13 14:03:35

Modified files:
. : WHATS_NEW
lib : libdm-deptree.c

Log message:
Avoid deptree attempting to suspend a device that's already suspended.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.129&r2=1.130
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.28&r2=1.29

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 1.02.12 -
 ==============================
+  Avoid deptree attempting to suspend a device that's already suspended.
 
 Version 1.02.11 -  12 Oct 2006
 ==============================
lib/libdm-deptree.c +1 -1
@@ -1028,7 +1028,7 @@
 			continue;
 
 		if (!_info_by_dev(dinfo->major, dinfo->minor, 0, &info) ||
-		    !info.exists)
+		    !info.exists || info.suspended)
 			continue;
 
 		if (!_suspend_node(name, info.major, info.minor,