]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4, fscrypt: merge fscrypt_mergeable_bio_bh into io_submit_need_new_bio
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Mar 2026 14:18:09 +0000 (06:18 -0800)
committerEric Biggers <ebiggers@kernel.org>
Mon, 9 Mar 2026 20:31:50 +0000 (13:31 -0700)
commit588e7c048d7d2bfcbe7776ee0888ee248adf01d1
tree692adb45cb7aa2f0f29ee3825caa1519a5694ca6
parent5f18a9d2f75a3a5c055c2d777a29b3aa322b04da
ext4, fscrypt: merge fscrypt_mergeable_bio_bh into io_submit_need_new_bio

ext4 already has the inode and folio and can't have a NULL
folio->mapping in this path. Open code fscrypt_mergeable_bio_bh in
io_submit_need_new_bio based on these simplifying assumptions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260302141922.370070-5-hch@lst.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/crypto/inline_crypt.c
fs/ext4/page-io.c
include/linux/fscrypt.h