mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-01 09:47:48 +03:00
413fc9d3e6
Fix rename operation for snapshot (cow) LV. Only the snapshot's origin has the lock and by mistake suspend and resume has been called for the snapshot LV. This further made volumes unusable in cluster. So instead of suspend and resuming list of LVs, we need to just suspend and resume origin. As the sequence write/suspend/commit/resume is widely used in lvm2 code base - move it to new lv_update_and_reload function.