+4
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If a crypt mapping uses optional sector_size feature, additional
restrictions to mapped device segment size must be applied in
constructor, otherwise the device activation will fail later.
Fixes: 8f0009a225 ("dm crypt: optionally support larger encryption sector size")
Cc: stable@vger.kernel.org # 4.12+
Signed-off-by:
Milan Broz <gmazyland@gmail.com>
Signed-off-by:
Mike Snitzer <snitzer@redhat.com>
(cherry picked from commit 783874b050768d361239e444ba0fa396bb6d463f)
Conflicts:
drivers/md/dm-crypt.c
Change-Id: I46721db938c43c7d1480eaaed170b5683a7f6d14
Bug: 112008522
Test: As series, see Ie247fd41b11adcf8520de0b1554568a1b7155860
Signed-off-by:
Eric Biggers <ebiggers@google.com>