[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/metadata lv_manip.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk sourceware org	2012-01-24 14:53:59

Modified files:
	lib/metadata   : lv_manip.c 

Log message:
	Caller is still entitled to reference an LV that's unlinked, so don't
	tamper with struct contents.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/lv_manip.c.diff?cvsroot=lvm2&r1=1.347&r2=1.348

--- LVM2/lib/metadata/lv_manip.c	2012/01/24 14:15:52	1.347
+++ LVM2/lib/metadata/lv_manip.c	2012/01/24 14:53:59	1.348
@@ -3111,8 +3111,6 @@
 
 	dm_list_del(&lvl->list);
 
-	lv->status = 0;   /* Reset */
-
 	return 1;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]