]> sourceware.org Git - lvm2.git/commitdiff
Issue a message if the new type of deactivation failure happens.
authorAlasdair Kergon <agk@redhat.com>
Wed, 7 Apr 2010 21:25:09 +0000 (21:25 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 7 Apr 2010 21:25:09 +0000 (21:25 +0000)
If this can happen during 'normal' operations, I need to know.

libdm/libdm-deptree.c

index 02ab39e75a2c4f4ac1e6c65112c9f7fe481dbbb6..d4beeac511e0404798eac5540de7df3fb76f04a1 100644 (file)
@@ -1051,6 +1051,9 @@ int dm_tree_deactivate_children(struct dm_tree_node *dnode,
                        continue;
 
                if (info.open_count) {
+                       log_error("Unable to deactivate open %s (%" PRIu32
+                                 ":%" PRIu32 ")", name, info.major,
+                                 info.minor);
                        r = 0;
                        continue;
                }
This page took 0.044122 seconds and 5 git commands to generate.