1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix deptree to pass new name to _resume_node after a rename.

This commit is contained in:
Alasdair Kergon 2007-12-14 17:57:04 +00:00
parent 4a41a93a7a
commit bafa2f39cf
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.24 - Version 1.02.24 -
=================================== ===================================
Fix deptree to pass new name to _resume_node after a rename.
Add node operation stack debug messages. Add node operation stack debug messages.
Report error when empty device name passed to readahead functions. Report error when empty device name passed to readahead functions.
Fix minimum readahead debug message. Fix minimum readahead debug message.

View File

@ -1160,11 +1160,11 @@ int dm_tree_activate_children(struct dm_tree_node *dnode,
if (!child->info.inactive_table && !child->info.suspended) if (!child->info.inactive_table && !child->info.suspended)
continue; 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,
child->props.read_ahead_flags, &newinfo)) { child->props.read_ahead_flags, &newinfo)) {
log_error("Unable to resume %s (%" PRIu32 log_error("Unable to resume %s (%" PRIu32
":%" PRIu32 ")", name, child->info.major, ":%" PRIu32 ")", child->name, child->info.major,
child->info.minor); child->info.minor);
continue; continue;
} }