On 2/18/25 5:02 AM, Jingbo Xu wrote: > iocb->ki_pos has been updated with the number of written bytes since > generic_perform_write(). > > Besides __filemap_fdatawrite_range() accepts the inclusive end of the > data range. Fix looks good, this got introduced because the logic got moved into generic_write_sync() rather than being a separate helper. Reviewed-by: Jens Axboe <axboe@xxxxxxxxx> -- Jens Axboe