summaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2017-09-13 15:45:56 +0200
committerMike Snitzer <snitzer@redhat.com>2017-10-04 10:49:58 -0400
commit783874b050768d361239e444ba0fa396bb6d463f (patch)
treebc41ab9d2de82b5aedf85216eacdadd61b44d770 /Documentation/device-mapper
parentbd86e32059526e2d0d13ca1e4447dfbbddb6e5cc (diff)
downloadlinux-stable-783874b050768d361239e444ba0fa396bb6d463f.tar.gz
linux-stable-783874b050768d361239e444ba0fa396bb6d463f.tar.bz2
linux-stable-783874b050768d361239e444ba0fa396bb6d463f.zip
dm crypt: reject sector_size feature if device length is not aligned to it
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>
Diffstat (limited to 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions