summaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorTrond Myklebust2019-02-13 16:39:39 +0100
committerTrond Myklebust2019-02-20 21:14:20 +0100
commitdf3accb849607a86278a37c35e6b313635ccc48b (patch)
tree998e41f6734bdddacfd90ba24469027d5288fe8e /fs/nfs/read.c
parentNFS: Clean up list moves of struct nfs_page (diff)
downloadkernel-qcow2-linux-df3accb849607a86278a37c35e6b313635ccc48b.tar.gz
kernel-qcow2-linux-df3accb849607a86278a37c35e6b313635ccc48b.tar.xz
kernel-qcow2-linux-df3accb849607a86278a37c35e6b313635ccc48b.zip
NFS: Pass error information to the pgio error cleanup routine
Allow the caller to pass error information when cleaning up a failed I/O request so that we can conditionally take action to cancel the request altogether if the error turned out to be fatal. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index f9f19784db82..1d95a60b2586 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -205,7 +205,7 @@ static void nfs_initiate_read(struct nfs_pgio_header *hdr,
}
static void
-nfs_async_read_error(struct list_head *head)
+nfs_async_read_error(struct list_head *head, int error)
{
struct nfs_page *req;