diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-19 12:17:29 -0700 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-19 13:58:37 -0700 |
commit | fbb5a9abf0d589e9471dc93b18025b7b921d22c9 (patch) | |
tree | 0f9ad68b242159289fd57b39dddd5fb4da7ea708 /fs/nfs/read.c | |
parent | d00c5d43866720963a265fa3129f3203cac35b8e (diff) | |
download | linux-fbb5a9abf0d589e9471dc93b18025b7b921d22c9.tar.gz linux-fbb5a9abf0d589e9471dc93b18025b7b921d22c9.tar.bz2 linux-fbb5a9abf0d589e9471dc93b18025b7b921d22c9.zip |
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/read.c')
-rw-r--r-- | fs/nfs/read.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index e866a7e6e2d5..09829d96d207 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c @@ -322,7 +322,6 @@ static int nfs_pagein_multi(struct nfs_pageio_descriptor *desc, struct list_head offset += len; } while(nbytes != 0); atomic_set(&req->wb_complete, requests); - ClearPageError(page); desc->pg_rpc_callops = &nfs_read_partial_ops; return ret; out_bad: @@ -357,7 +356,6 @@ static int nfs_pagein_one(struct nfs_pageio_descriptor *desc, struct list_head * req = nfs_list_entry(head->next); nfs_list_remove_request(req); nfs_list_add_request(req, &data->pages); - ClearPageError(req->wb_page); *pages++ = req->wb_page; } req = nfs_list_entry(data->pages.next); |