Skip to content

Commit 0f913a5

Browse files
olgakorn1amschuma-ntap
authored andcommitted
NFS export nfs4_async_handle_error
Make this function available to nfs42proc.c Signed-off-by: Olga Kornievskaia <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
1 parent bc0c907 commit 0f913a5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

fs/nfs/nfs4_fs.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ int nfs4_replace_transport(struct nfs_server *server,
273273

274274
/* nfs4proc.c */
275275
extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *);
276+
extern int nfs4_async_handle_error(struct rpc_task *task,
277+
struct nfs_server *server,
278+
struct nfs4_state *state, long *timeout);
276279
extern int nfs4_call_sync(struct rpc_clnt *, struct nfs_server *,
277280
struct rpc_message *, struct nfs4_sequence_args *,
278281
struct nfs4_sequence_res *, int);

fs/nfs/nfs4proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ nfs4_async_handle_exception(struct rpc_task *task, struct nfs_server *server,
596596
return ret;
597597
}
598598

599-
static int
599+
int
600600
nfs4_async_handle_error(struct rpc_task *task, struct nfs_server *server,
601601
struct nfs4_state *state, long *timeout)
602602
{

0 commit comments

Comments
 (0)