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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux