diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-12-04 19:03:17 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-12-28 20:32:37 +0100 |
commit | 2bff2288579f1e4af2f05a7f7443c85b7766d5ac (patch) | |
tree | 1cca8e446029d3acc42b0e0e858ae4b17c542617 /fs/nfs/inode.c | |
parent | nfs: clean up rest of reqs when failing to add one (diff) | |
download | linux-2bff2288579f1e4af2f05a7f7443c85b7766d5ac.tar.xz linux-2bff2288579f1e4af2f05a7f7443c85b7766d5ac.zip |
nfs: centralize pgio error cleanup
In case we fail during setting things up for read/write IO, set
pg_error in IO descriptor and do the cleanup in nfs_pageio_add_request,
where we clean up all pages that are still hanging around on the IO
descriptor.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/inode.c')
0 files changed, 0 insertions, 0 deletions