diff options
author | Chandan Rajendra <chandan@linux.ibm.com> | 2019-05-20 19:29:51 +0300 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2019-05-28 20:27:53 +0300 |
commit | ec39a36867440995c9675b2800f5ddaeb51b024e (patch) | |
tree | 6dc5eeac5604c948473efc01a47c367606978cd9 /fs/dlm/config.c | |
parent | 0b578f358a6a7afee2ddc48dd39c2972726187de (diff) | |
download | linux-ec39a36867440995c9675b2800f5ddaeb51b024e.tar.xz |
ext4: decrypt only the needed block in __ext4_block_zero_page_range()
In __ext4_block_zero_page_range(), only decrypt the block that actually
needs to be decrypted, rather than assuming blocksize == PAGE_SIZE and
decrypting the whole page.
This is in preparation for allowing encryption on ext4 filesystems with
blocksize != PAGE_SIZE.
Signed-off-by: Chandan Rajendra <chandan@linux.ibm.com>
(EB: rebase onto previous changes, improve the commit message, and use
bh_offset())
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/dlm/config.c')
0 files changed, 0 insertions, 0 deletions