mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix internal snapshot_count when vgmerge with snapshots in source VG.
This commit is contained in:
parent
9ba7d6d08b
commit
7eb03d6c5c
@ -1,5 +1,6 @@
|
||||
Version 2.02.36 -
|
||||
=================================
|
||||
Fix internal snapshot_count when vgmerge with snapshots in source VG.
|
||||
Simply clvmd-openais by using non-async saLckResourceLock.
|
||||
Check lv_count in vg_validate.
|
||||
Fix internal LV counter when a snapshot is removed.
|
||||
|
@ -99,6 +99,7 @@ static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to,
|
||||
}
|
||||
|
||||
vg_to->lv_count += vg_from->lv_count;
|
||||
vg_to->snapshot_count += vg_from->snapshot_count;
|
||||
|
||||
vg_to->extent_count += vg_from->extent_count;
|
||||
vg_to->free_count += vg_from->free_count;
|
||||
|
Loading…
Reference in New Issue
Block a user