NFS: Don't rely on PageError in nfs_readpage_release_partial
commitfba730050d1246d0e6ef44e026e0b584732fec2b
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Oct 2011 19:17:29 +0000 (19 12:17 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Oct 2011 20:58:38 +0000 (19 13:58 -0700)
tree0f82efd65d61d40e6cc994fd8e69b9db0a2e6cb1
parentfbb5a9abf0d589e9471dc93b18025b7b921d22c9
NFS: Don't rely on PageError in nfs_readpage_release_partial

Don't rely on the PageError flag to tell us if one of the partial reads of
the page failed. Instead, replace that with a dedicated flag in the
struct nfs_page.

Then clean out redundant uses of the PageError flag: the VM no longer
checks it for reads.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/read.c
include/linux/nfs_page.h