On Tue, Dec 21, 2021 at 04:44:50AM +0000, Matthew Wilcox (Oracle) wrote: > iomap_write_end() does not return a negative errno to indicate an > error, but the number of bytes successfully copied. It cannot return > an error today, so include a debugging assertion like the one in > iomap_unshare_iter(). Looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>