Fix mapping of TCRYPT system encryption for more partitions.
authorMilan Broz <gmazyland@gmail.com>
Sun, 23 Jun 2013 13:24:01 +0000 (15:24 +0200)
committerMilan Broz <gmazyland@gmail.com>
Sun, 23 Jun 2013 13:24:01 +0000 (15:24 +0200)
commita36de633d50d1e047cf5c0c3bc5e4d16a411fb62
tree8250fea3ec43c3fd867ddd5644642c8dd80d779c
parent8a43d49b896a434b3ef453fd1b1c8f087d70fa70
Fix mapping of TCRYPT system encryption for more partitions.

If TCRYPT system encryption uses only partition (not the whole device)
some other partitions could be in use and we have to use
more relaxed check to allow device activation.
lib/tcrypt/tcrypt.c