summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorEric Biggers2019-05-20 18:29:45 +0200
committerEric Biggers2019-05-28 19:27:53 +0200
commit930d453995bdf4a0000bd162dfd4b70c6d7329f8 (patch)
treefcfc6f8c9cb1cbde2fe3c965cdf393d54595f6f2 /fs/ubifs
parentfscrypt: support encrypting multiple filesystem blocks per page (diff)
downloadkernel-qcow2-linux-930d453995bdf4a0000bd162dfd4b70c6d7329f8.tar.gz
kernel-qcow2-linux-930d453995bdf4a0000bd162dfd4b70c6d7329f8.tar.xz
kernel-qcow2-linux-930d453995bdf4a0000bd162dfd4b70c6d7329f8.zip
fscrypt: handle blocksize < PAGE_SIZE in fscrypt_zeroout_range()
Adjust fscrypt_zeroout_range() to encrypt a block at a time rather than a page at a time, so that it works when blocksize < PAGE_SIZE. This isn't optimized for performance, but then again this function already wasn't optimized for performance. As a future optimization, we could submit much larger bios here. This is in preparation for allowing encryption on ext4 filesystems with blocksize != PAGE_SIZE. This is based on work by Chandan Rajendra. Reviewed-by: Chandan Rajendra <chandan@linux.ibm.com> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions