summaryrefslogtreecommitdiffstats
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r--fs/nfs/write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index a057b4f45a46..586726a590d8 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1406,6 +1406,8 @@ static void nfs_async_write_error(struct list_head *head)
1406static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr) 1406static void nfs_async_write_reschedule_io(struct nfs_pgio_header *hdr)
1407{ 1407{
1408 nfs_async_write_error(&hdr->pages); 1408 nfs_async_write_error(&hdr->pages);
1409 filemap_fdatawrite_range(hdr->inode->i_mapping, hdr->args.offset,
1410 hdr->args.offset + hdr->args.count - 1);
1409} 1411}
1410 1412
1411static const struct nfs_pgio_completion_ops nfs_async_write_completion_ops = { 1413static const struct nfs_pgio_completion_ops nfs_async_write_completion_ops = {