diff options
author | Jens Axboe <axboe@fb.com> | 2015-10-09 10:40:29 -0600 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-10-09 10:40:29 -0600 |
commit | 54ef2b96879334caf8803fdd93b4c556d709d6fd (patch) | |
tree | 05cfeb36feeb4451f8f4c7069a86ae3490027daf /fs/nfs/write.c | |
parent | f7e7868b4743f1cc5e59e6e0ddd3ccf9cfe53a1b (diff) | |
parent | fd48ca384960c831d4fae4636282e422e140ca7c (diff) | |
download | linux-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.c | 3 |
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); |