mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Purge remaining trim bits from code
This commit is contained in:
parent
865738f271
commit
4bcaf8086e
@ -53,7 +53,7 @@ static int _thin_pool_add_message(struct lv_segment *seg,
|
|||||||
uint32_t delete_id = 0;
|
uint32_t delete_id = 0;
|
||||||
dm_thin_message_t type;
|
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 (dm_config_get_str(sn, "create", &lv_name)) {
|
||||||
if (!(lv = find_lv(seg->lv->vg, lv_name)))
|
if (!(lv = find_lv(seg->lv->vg, lv_name)))
|
||||||
return SEG_LOG_ERROR("Unknown LV %s for create message in",
|
return SEG_LOG_ERROR("Unknown LV %s for create message in",
|
||||||
|
@ -122,10 +122,6 @@ struct dm_thin_message {
|
|||||||
uint64_t current_id;
|
uint64_t current_id;
|
||||||
uint64_t new_id;
|
uint64_t new_id;
|
||||||
} m_set_transaction_id;
|
} m_set_transaction_id;
|
||||||
struct {
|
|
||||||
uint32_t device_id;
|
|
||||||
uint64_t new_size;
|
|
||||||
} m_trim;
|
|
||||||
} u;
|
} u;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user