Thanks to Milan Broz <mbroz@redhat.com> for this patch:
Thanks to Milan Broz <mbroz@redhat.com> for this patch:

Fix signal handler to proper close device, otherwise if the descriptor
is 0, it keeps device open and temporary-cryptsetup-$PID mapping
is not removed (leaving device open and unusable).



git-svn-id: f1c4d174a13b2bd4c047b47c398fe6b4d47908a0@30 36d66b0a-2a48-0410-832c-cd162a569da5

periodic1236/cryptsetup,periodic1236/cryptsetup,periodic1236/cryptsetup