]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ext4: use a byte granularity cursor in ext4_mpage_readpages
authorChristoph Hellwig <hch@lst.de>
Mon, 2 Mar 2026 14:18:19 +0000 (06:18 -0800)
committerEric Biggers <ebiggers@kernel.org>
Mon, 9 Mar 2026 20:34:21 +0000 (13:34 -0700)
commit4377a22d84f726f0a650927edf75cdc0698baf06
tree9bfd386505f9e7a1aeb338679a3a6b3eaf252293
parent5ca1a1f017ea0f0e0bcb6ec52064735f2ac1c393
ext4: use a byte granularity cursor in ext4_mpage_readpages

Replace the next_block variable that is in units of file system blocks
and incorrectly uses the sector_t type with a byte offset, as that is
what both users want.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20260302141922.370070-15-hch@lst.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
fs/ext4/readpage.c