mirror of
git://sourceware.org/git/lvm2.git
synced 2025-11-24 08:23:49 +03:00
dev-cache: unify dm uuid cache struct lifetimes
The list of dm devs was in the cmd struct and had a different lifetime than the radix trees referencing those dm devs. Now the list and radix trees are created and destroyed together.
This commit is contained in:
@@ -230,8 +230,6 @@ struct cmd_context {
|
||||
const char *devicesfile; /* from --devicesfile option */
|
||||
struct dm_list deviceslist; /* from --devices option, struct dm_str_list */
|
||||
|
||||
struct dm_list *cache_dm_devs; /* cache with UUIDs from DM_DEVICE_LIST (when available) */
|
||||
|
||||
/*
|
||||
* Configuration.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user