mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-07 04:58:47 +03:00
Creating a snapshot was using a persistent LV lock on the origin, so if the origin LV was inactive at the time of the snapshot the LV lock would remain. (Running lvchange -an on the inactive LV would clear the LV lock.) Use a transient LV lock so it will be dropped if it was not locked previously.