Skip to contentSkip to conversation

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

PATCH [email protected] 1 participant 1 message Dec 14, 2007

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

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2007-12-14 17:57:05

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

Log message:
Fix deptree to pass new name to _resume_node after a rename.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.218&r2=1.219
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-deptree.c.diff?cvsroot=dm&r1=1.34&r2=1.35

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 1.02.24 -
 ===================================
+  Fix deptree to pass new name to _resume_node after a rename.
   Add node operation stack debug messages.
   Report error when empty device name passed to readahead functions.
   Fix minimum readahead debug message.
lib/libdm-deptree.c +2 -2
@@ -1160,11 +1160,11 @@
 			if (!child->info.inactive_table && !child->info.suspended)
 				continue;
 
-			if (!_resume_node(name, child->info.major, child->info.minor,
+			if (!_resume_node(child->name, child->info.major, child->info.minor,
 					  child->props.read_ahead,
 					  child->props.read_ahead_flags, &newinfo)) {
 				log_error("Unable to resume %s (%" PRIu32
-					  ":%" PRIu32 ")", name, child->info.major,
+					  ":%" PRIu32 ")", child->name, child->info.major,
 					  child->info.minor);
 				continue;
 			}