Re: [PATCH v2 6/7] iomap: advance the iter directly on unshare range

Christoph Hellwig
2025-01-28T05:39:02Z

On Wed, Jan 22, 2025 at 08:34:33AM -0500, Brian Foster wrote:
> + size_t bytes = iomap_length(iter);

> + bytes = min_t(u64, SIZE_MAX, bytes);

bytes needs to be a u64 for the min logic to work on 32-bit systems.