On Thu, May 08, 2025 at 03:34:27PM +0200, Andreas Gruenbacher wrote: > As an alternative approach, we could also implicitly truncate the range > inside iomap_zero_range() instead of issuing a warning. Any thoughts? I'd rather not magically change the range. > BUG_ON(current->journal_info); > + if (from + length > inode->i_size) > + length = inode->i_size - from; length = min(length, inode->i_size - from);