aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4_fs.h3
-rw-r--r--fs/nfs/nfs4proc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 137e18abb7e7..a417aaaeee4a 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -273,6 +273,9 @@ int nfs4_replace_transport(struct nfs_server *server,
273 273
274/* nfs4proc.c */ 274/* nfs4proc.c */
275extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 275extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *);
276extern int nfs4_async_handle_error(struct rpc_task *task,
277 struct nfs_server *server,
278 struct nfs4_state *state, long *timeout);
276extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *, 279extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *,
277 struct rpc_message *, struct nfs4_sequence_args *, 280 struct rpc_message *, struct nfs4_sequence_args *,
278 struct nfs4_sequence_res *, int); 281 struct nfs4_sequence_res *, int);
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index b22b41eff9c0..f9a70aaf13da 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -596,7 +596,7 @@ out_retry:
596 return ret; 596 return ret;
597} 597}
598 598
599static int 599int
600nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server, 600nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server,
601 struct nfs4_state *state, long *timeout) 601 struct nfs4_state *state, long *timeout)
602{ 602{