mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-31 05:47:43 +03:00
f8872578e9
This fixes a regression from commit a7c45ddc5, which moved the lvmetad VG update from vg_commit() to unlock_vg(). The lvmetad VG update needs to send the version of metadata that was committed rather than sending the state of struct 'vg'. The 'vg' may have been partially modified since vg_commit(), and contain non-committed metadata that shouldn't be sent to lvmetad.