On Thu, Jan 22, 2026 at 07:04:00AM +0100, Christoph Hellwig wrote: > On Wed, Jan 21, 2026 at 05:04:40PM -0800, Darrick J. Wong wrote: > > > if (dio->flags & IOMAP_DIO_BOUNCE) > > > - ret = bio_iov_iter_bounce(bio, dio->submit.iter); > > > + ret = bio_iov_iter_bounce(bio, dio->submit.iter, UINT_MAX); > > > > Nitpicking here, but shouldn't this be SIZE_MAX? > > bi_size can't store more than UINT_MAX, so I think this is correct.
Fair enough, I was just surprised that this later gets turned into a min() involving SIZE_MAX. Practically speaking, they're the same value so it doesn't matter much. Reviewed-by: "Darrick J. Wong" <[email protected]> --D
