diff --git a/fs/iomap.c b/fs/iomap.c index c4acf69b71967fe10723e2f6e54d4ec2ed776ad6..f15c705c5a93abe4466e7eec2b6281cc7f7ca776 100644 --- a/fs/iomap.c +++ b/fs/iomap.c @@ -799,7 +799,7 @@ iomap_write_end(struct inode *inode, loff_t pos, unsigned len, if (old_size < pos) pagecache_isize_extended(inode, old_size, pos); if (page_ops && page_ops->page_done) - page_ops->page_done(inode, pos, copied, page, iomap); + page_ops->page_done(inode, pos, ret, page, iomap); put_page(page); if (ret < len)