mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-14 23:24:55 +03:00
d5857e6d48
Allow lv_remove_with_dependencies() to know the top-level LV that was requested to be removed (otherwise it recurses and we lose context). A merging snapshot cannot be removed directly but the associated origin can be. Disallow removal of a merging snapshot unless the associated origin is also being removed.