Skip to contentSkip to conversation

device-mapper/lib libdm-deptree.c

PATCH [email protected] 1 participant 1 message Sep 18, 2008

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

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2008-09-18 22:55:33

Modified files:
lib : libdm-deptree.c

Log message:
Fix last checkin - tested wrong dnode.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.42&r2=1.43

lib/libdm-deptree.c +1 -1
@@ -1551,7 +1551,7 @@
 		}
 
 		/* Resume device immediately if it has parents and its size changed */
-		if (!dm_tree_node_num_children(child, 1) || !dnode->props.size_changed)
+		if (!dm_tree_node_num_children(child, 1) || !child->props.size_changed)
 			continue;
 
 		if (!child->info.inactive_table && !child->info.suspended)