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

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260302141922.370070-12-hch@lst.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/crypto/bio.c
fs/ext4/inode.c
fs/f2fs/file.c
include/linux/fscrypt.h