Skip to contentSkip to conversation

LVM2 lib/thin/thin.c libdm/libdm-deptree.c

PATCH [email protected] 1 participant 1 message Mar 2, 2012

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-03-02 21:43:27

Modified files:
lib/thin : thin.c
libdm : libdm-deptree.c

Log message:
Purge remaining trim bits from code

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/thin/thin.c.diff?cvsroot=lvm2&r1=1.48&r2=1.49
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-deptree.c.diff?cvsroot=lvm2&r1=1.159&r2=1.160

lib/thin/thin.c +1 -1
@@ -53,7 +53,7 @@
 	uint32_t delete_id = 0;
 	dm_thin_message_t type;
 
-	/* Message must have only one from: create, trim, delete */
+	/* Message must have only one from: create, delete */
 	if (dm_config_get_str(sn, "create", &lv_name)) {
 		if (!(lv = find_lv(seg->lv->vg, lv_name)))
 			return SEG_LOG_ERROR("Unknown LV %s for create message in",
libdm/libdm-deptree.c +0 -4
@@ -122,10 +122,6 @@
 			uint64_t current_id;
 			uint64_t new_id;
 		} m_set_transaction_id;
-		struct {
-			uint32_t device_id;
-			uint64_t new_size;
-		} m_trim;
 	} u;
 };