Skip to contentSkip to conversation

LVM2 ./WHATS_NEW libdm/libdm-deptree.c

PATCH [email protected] 1 participant 1 message Nov 23, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2010-11-23 18:29:06

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

Log message:
Do not call dm_task_destroy with NULL

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1803&r2=1.1804
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-deptree.c.diff?cvsroot=lvm2&r1=1.86&r2=1.87

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.78 - 
 ====================================
+  Fix dm_task_destroy(NULL) call in _node_clear_table() error path.
   Fix resource leak in _rm_blks().
   Suppress 'No PV label' message when removing several PVs without mdas.
   Fix default /etc/lvm permissions to be 0755. (2.02.66)
libdm/libdm-deptree.c +0 -1
@@ -580,7 +580,6 @@
 		    name, info->major, info->minor);
 
 	if (!(dmt = dm_task_create(DM_DEVICE_CLEAR))) {
-		dm_task_destroy(dmt);
 		log_error("Table clear dm_task creation failed for %s", name);
 		return 0;
 	}