summaryrefslogtreecommitdiff
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-12-23 23:36:37 +0300
committerEric Biggers <ebiggers@google.com>2023-01-10 06:06:09 +0300
commit4fa512ce70515ac0d59e30a4b7ae0888b117d8a2 (patch)
treeb82c27984d1aad27209f8380cd9ce0dccb45dd58 /fs/ext4/super.c
parentfeb0576a361aacaf12c49e66d32e293a0f3a2e64 (diff)
downloadlinux-4fa512ce70515ac0d59e30a4b7ae0888b117d8a2.tar.xz
fs/buffer.c: support fsverity in block_read_full_folio()
After each filesystem block (as represented by a buffer_head) has been read from disk by block_read_full_folio(), verify it if needed. The verification is done on the fsverity_read_workqueue. Also allow reads of verity metadata past i_size, as required by ext4. This is needed to support fsverity on ext4 filesystems where the filesystem block size is less than the page size. The new code is compiled away when CONFIG_FS_VERITY=n. Signed-off-by: Eric Biggers <ebiggers@google.com> Tested-by: Ojaswin Mujoo <ojaswin@linux.ibm.com> Link: https://lore.kernel.org/r/20221223203638.41293-11-ebiggers@kernel.org
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions