I wonder if the i_size check should be done in core, similar to the iomap_block_needs_zeroing helper. But independent of what is nicer this version does look correct to me: Reviewed-by: Christoph Hellwig <hch@xxxxxx>
I wonder if the i_size check should be done in core, similar to the iomap_block_needs_zeroing helper. But independent of what is nicer this version does look correct to me: Reviewed-by: Christoph Hellwig <hch@xxxxxx>