Skip to contentSkip to conversation

LVM2/libdm libdm-deptree.c

PATCH [email protected] 1 participant 1 message Apr 7, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2010-04-07 21:25:09

Modified files:
libdm : libdm-deptree.c

Log message:
Issue a message if the new type of deactivation failure happens. If this can happen during 'normal' operations, I need to know.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-deptree.c.diff?cvsroot=lvm2&r1=1.73&r2=1.74

libdm/libdm-deptree.c +3 -0
@@ -1051,6 +1051,9 @@
 			continue;
 
 		if (info.open_count) {
+			log_error("Unable to deactivate open %s (%" PRIu32
+				  ":%" PRIu32 ")", name, info.major,
+				  info.minor);
 			r = 0;
 			continue;
 		}