iomap: fix page_done callback for short writes
commit 36a7347de097edf9c4d7203d09fa223c86479674 upstream When we truncate a short write to have it retried, pass the truncated length to the page_done callback instead of the full length. Signed-off-by: NHui Zhu <teawaterz@linux.alibaba.com> Signed-off-by: NAndreas Gruenbacher <agruenba@redhat.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NDarrick J. Wong <darrick.wong@oracle.com> Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Showing
想要评论请 注册 或 登录