[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]