diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-15 22:33:58 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 22:53:01 +0200 |
commit | fdd1e74c89fe39259a29c494209abad63ff76f82 (patch) | |
tree | 7ec3708b7b7badeb20f705cf865afbb9c63b5406 /fs/nfs/write.c | |
parent | NFS: Fix nfs_wb_page() to always exit with an error or a clean page (diff) | |
download | linux-fdd1e74c89fe39259a29c494209abad63ff76f82.tar.xz linux-fdd1e74c89fe39259a29c494209abad63ff76f82.zip |
NFS: Ensure that the read code cleans up properly when rpc_run_task() fails
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>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions