]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fscrypt: pass a byte offset to fscrypt_set_bio_crypt_ctx
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Mar 2026 14:18:13 +0000 (06:18 -0800)
committerEric Biggers <ebiggers@kernel.org>
Mon, 9 Mar 2026 20:31:50 +0000 (13:31 -0700)
commit3c7eaa775d8e008135646bd4b7aa7db7c5e40a0e
tree5e123fb8b43e010205ccd8130552197befa229be
parent22be86a23c5956254b752e4e98f0ef2799565a41
fscrypt: pass a byte offset to fscrypt_set_bio_crypt_ctx

Logical offsets into an inode are usually expressed as bytes in the VFS.
Switch fscrypt_set_bio_crypt_ctx to that convention.

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