[dm-devel] device-mapper/lib libdm-deptree.c

agk at sourceware.org agk at sourceware.org
Thu Sep 18 22:55:33 UTC 2008


CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	agk at sourceware.org	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

--- device-mapper/lib/libdm-deptree.c	2008/09/18 18:34:53	1.42
+++ device-mapper/lib/libdm-deptree.c	2008/09/18 22:55:33	1.43
@@ -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)




More information about the dm-devel mailing list