diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2025-09-25 17:26:03 -0700 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-05 12:57:23 +0100 |
| commit | fb7a10ac4704fe2df12fcc560c0b49a69e016af0 (patch) | |
| tree | 9df8126c0745d04997bd71cb0f0c982e6d11bc59 /scripts/lib | |
| parent | d43558ae67299266ea54715773610fdec4291c90 (diff) | |
iomap: set accurate iter->pos when reading folio ranges
Advance iter to the correct position before calling an IO helper to read
in a folio range. This allows the helper to reliably use iter->pos to
determine the starting offset for reading.
This will simplify the interface for reading in folio ranges when iomap
read/readahead supports caller-provided callbacks.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions
