1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00

remove any stray semaphores after tearing down devs

This commit is contained in:
Alasdair Kergon 2011-06-29 17:33:39 +00:00
parent 08315e3ac4
commit e2aa3cf6ae

View File

@ -86,6 +86,9 @@ teardown_devs() {
fi
rm -f DEVICES # devs is set in prepare_devs()
rm -f LOOP
# Delete any remaining dm/udev semaphores
dmsetup udevcomplete_all -y
}
teardown() {