aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-19 15:17:29 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-10-19 16:58:37 -0400
commitfbb5a9abf0d589e9471dc93b18025b7b921d22c9 (patch)
tree0f9ad68b242159289fd57b39dddd5fb4da7ea708 /fs/nfs/write.c
parentd00c5d43866720963a265fa3129f3203cac35b8e (diff)
NFS: Get rid of unnecessary calls to ClearPageError() in read code
The generic file read code does that for us anyway. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r--fs/nfs/write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index ad90b0c998cb..2219c88d96b2 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -1011,7 +1011,6 @@ static int nfs_flush_one(struct nfs_pageio_descriptor *desc, struct list_head *r
1011 req = nfs_list_entry(head->next); 1011 req = nfs_list_entry(head->next);
1012 nfs_list_remove_request(req); 1012 nfs_list_remove_request(req);
1013 nfs_list_add_request(req, &data->pages); 1013 nfs_list_add_request(req, &data->pages);
1014 ClearPageError(req->wb_page);
1015 *pages++ = req->wb_page; 1014 *pages++ = req->wb_page;
1016 } 1015 }
1017 req = nfs_list_entry(data->pages.next); 1016 req = nfs_list_entry(data->pages.next);