diff options
author | 2019-05-20 09:29:50 -0700 | |
---|---|---|
committer | 2019-05-28 10:27:53 -0700 | |
commit | 0b578f358a6a7afee2ddc48dd39c2972726187de (patch) | |
tree | d85e098547e7986c7ef9cfd1d36679372869e8c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ext4: clear BH_Uptodate flag on decryption error (diff) | |
download | wireguard-linux-0b578f358a6a7afee2ddc48dd39c2972726187de.tar.xz wireguard-linux-0b578f358a6a7afee2ddc48dd39c2972726187de.zip |
ext4: decrypt only the needed blocks in ext4_block_write_begin()
In ext4_block_write_begin(), only decrypt the blocks that actually need
to be decrypted (up to two blocks which intersect the boundaries of the
region that will be written to), 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 move the check for encrypted inode)
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions