mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
cleanup: fix typo and use vg mempool
Since we are updating VG - we can use its own mempool.
This commit is contained in:
parent
914be0696d
commit
30777fa46f
@ -283,9 +283,9 @@ int vg_remove_snapshot(struct logical_volume *cow)
|
||||
clear_snapshot_merge(origin);
|
||||
/*
|
||||
* preload origin IFF "snapshot-merge" target is active
|
||||
* - IMPORTANT: avoids preload if onactivate merge is pending
|
||||
* - IMPORTANT: avoids preload if inactivate merge is pending
|
||||
*/
|
||||
if (lv_has_target_type(origin->vg->cmd->mem, origin, NULL,
|
||||
if (lv_has_target_type(origin->vg->vgmem, origin, NULL,
|
||||
"snapshot-merge")) {
|
||||
/*
|
||||
* preload origin to:
|
||||
|
Loading…
x
Reference in New Issue
Block a user