1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-02 04:23:50 +03:00

devices: simpler dm devs cache naming

The dm devs cache is separate from the ordinary dev cache,
so give the function names distinct prefixes, using
"dm_devs_cache" to prefix dm devs cache functions.
This commit is contained in:
David Teigland
2024-07-01 11:50:59 -05:00
parent 8b4701d7c4
commit ad1d688734
5 changed files with 39 additions and 29 deletions

View File

@@ -330,7 +330,7 @@ int vg_write_lock_held(void)
int sync_local_dev_names(struct cmd_context* cmd)
{
dev_cache_destroy_dm_devs();
dm_devs_cache_destroy();
memlock_unlock(cmd);
fs_unlock();
return 1;