NFS: Ensure that the read code cleans up properly when rpc_run_task() fails
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 15 Apr 2008 20:33:58 +0000 (16:33 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:53:01 +0000 (16:53 -0400)
In the case of readpage() we need to ensure that the pages get unlocked,
and that the error is flagged.

In the case of O_DIRECT, we need to ensure that the pages are all released.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/direct.c
fs/nfs/read.c

diff --cc fs/nfs/direct.c
Simple merge
diff --cc fs/nfs/read.c
Simple merge