summaryrefslogtreecommitdiffstats
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-10-09 10:40:29 -0600
committerJens Axboe <axboe@fb.com>2015-10-09 10:40:29 -0600
commit54ef2b96879334caf8803fdd93b4c556d709d6fd (patch)
tree05cfeb36feeb4451f8f4c7069a86ae3490027daf /fs/nfs/write.c
parentf7e7868b4743f1cc5e59e6e0ddd3ccf9cfe53a1b (diff)
parentfd48ca384960c831d4fae4636282e422e140ca7c (diff)
downloadlinux-54ef2b96879334caf8803fdd93b4c556d709d6fd.tar.gz
linux-54ef2b96879334caf8803fdd93b4c556d709d6fd.tar.bz2
linux-54ef2b96879334caf8803fdd93b4c556d709d6fd.zip
Merge branch 'for-4.4/core' into for-4.4/drivers
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r--fs/nfs/write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index 388f48079c43..72624dc4a623 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1351,6 +1351,9 @@ void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio)
{
struct nfs_pgio_mirror *mirror;
+ if (pgio->pg_ops && pgio->pg_ops->pg_cleanup)
+ pgio->pg_ops->pg_cleanup(pgio);
+
pgio->pg_ops = &nfs_pgio_rw_ops;
nfs_pageio_stop_mirroring(pgio);