diff options
| author | Joanne Koong <joannelkoong@gmail.com> | 2025-11-11 11:36:51 -0800 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-12 10:50:31 +0100 |
| commit | 9d875e0eef8ec15b6b1da0cb9a0f8ed13efee89e (patch) | |
| tree | 495218333e496345cab1c340223e87f1c221ea8f /scripts/lib/kdoc/kdoc_re.py | |
| parent | a0f1cabe294c914ef58a414dce0de5c46a767bb5 (diff) | |
iomap: account for unaligned end offsets when truncating read range
The end position to start truncating from may be at an offset into a
block, which under the current logic would result in overtruncation.
Adjust the calculation to account for unaligned end offsets.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://patch.msgid.link/20251111193658.3495942-3-joannelkoong@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
