mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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);
|
clear_snapshot_merge(origin);
|
||||||
/*
|
/*
|
||||||
* preload origin IFF "snapshot-merge" target is active
|
* 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")) {
|
"snapshot-merge")) {
|
||||||
/*
|
/*
|
||||||
* preload origin to:
|
* preload origin to:
|
||||||
|
Loading…
Reference in New Issue
Block a user