diff options
| author | Eric Biggers <[email protected]> | 2019-05-20 09:29:52 -0700 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2019-05-28 10:27:53 -0700 |
| commit | 6e4b73bcd1519d50680d92ba74887c80c4e59140 (patch) | |
| tree | 36dcd075033712f765fedf4340713b8f23122803 /net/unix/sysctl_net_unix.c | |
| parent | ec39a36867440995c9675b2800f5ddaeb51b024e (diff) | |
ext4: encrypt only up to last block in ext4_bio_write_page()
As an optimization, don't encrypt blocks fully beyond i_size, since
those definitely won't need to be written out. Also add a comment.
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 <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions