summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-07-12 22:36:55 -0400
committerEric Biggers <ebiggers@kernel.org>2026-07-20 10:39:25 -0700
commitb69664873f4af302c7867aa7478e818549932614 (patch)
treeaf8bfd51dc5a596488b1d3c037318746f7019da2 /fs/ext4
parent95b39df0413077b631cde9c6e35224c15258ccf5 (diff)
downloadlinux-next-b69664873f4af302c7867aa7478e818549932614.tar.gz
linux-next-b69664873f4af302c7867aa7478e818549932614.zip
fscrypt: Fully disallow IV_INO_LBLK_32 with s_blocksize != PAGE_SIZE
FSCRYPT_POLICY_FLAG_IV_INO_LBLK_32 with s_blocksize != PAGE_SIZE works only with the fs-layer implementation of file contents encryption, not blk-crypto. This is a problem for standardizing on blk-crypto. Fortunately, no one should be using this combination anyway. It doesn't make sense because the entire point of IV_INO_LBLK_32 is to support inline encryption hardware that is limited to 32-bit DUNs. Thus, fully disallow IV_INO_LBLK_32 with s_blocksize != PAGE_SIZE. Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://patch.msgid.link/20260713023708.9245-5-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions