LVM2/libdm/ioctl libdm-iface.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-06-29 08:54:14
Modified files:
libdm/ioctl : libdm-iface.c
Log message:
Temporary conversion to internal error and failure, to see how many instances of this problem this flushes out.
libdm/ioctl/libdm-iface.c +4 -2
@@ -2059,8 +2059,8 @@ }if ((suspended_counter =dm_get_suspended_counter ()) && - dmt->type ==DM_DEVICE_RELOAD ) - log_error("Performing unsafe table load while %d device(s) " + dmt->type ==DM_DEVICE_RELOAD ) { + log_error(INTERNAL_ERROR "Performing unsafe table load while %d device(s) " "are known to be suspended: " "%s%s%s %s%.0d%s%.0d%s%s", suspended_counter,
@@ -2073,6 +2073,8 @@ dmt->minor >0 ? dmt->minor :0 , dmt->major >0 && dmt->minor ==0 ?"0" :"" , dmt->major > 0 ? ") " : ""); +return 0 ; + }/* FIXME Detect and warn if cookie set but should not be. */ repeat_ioctl: