diff options
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r-- | fs/nfs/read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index ae0ff7a11b40..01b8cc8e8cfc 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c | |||
@@ -72,6 +72,9 @@ void nfs_pageio_reset_read_mds(struct nfs_pageio_descriptor *pgio) | |||
72 | { | 72 | { |
73 | struct nfs_pgio_mirror *mirror; | 73 | struct nfs_pgio_mirror *mirror; |
74 | 74 | ||
75 | if (pgio->pg_ops && pgio->pg_ops->pg_cleanup) | ||
76 | pgio->pg_ops->pg_cleanup(pgio); | ||
77 | |||
75 | pgio->pg_ops = &nfs_pgio_rw_ops; | 78 | pgio->pg_ops = &nfs_pgio_rw_ops; |
76 | 79 | ||
77 | /* read path should never have more than one mirror */ | 80 | /* read path should never have more than one mirror */ |