Thanks to Milan Broz <mbroz@redhat.com> for this patch:
authorClemens Fruhwirth <clemens@endorphin.org>
Wed, 10 Sep 2008 10:55:28 +0000 (10:55 +0000)
committerClemens Fruhwirth <clemens@endorphin.org>
Wed, 10 Sep 2008 10:55:28 +0000 (10:55 +0000)
commit80039744844d508be78c1db6531d2a1718b5730d
tree11189cf451a768441abe55f76b78b19bb21d5c95
parent98cf0aedf82157d0c7e4e698fb2aef4db699cd91
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: https://cryptsetup.googlecode.com/svn/trunk@30 36d66b0a-2a48-0410-832c-cd162a569da5
luks/keyencryption.c