Commit ea51efaa authored by Donald Buczek's avatar Donald Buczek Committed by Trond Myklebust

nfs4: Rename nfs41_setup_state_renewal

The function nfs41_setup_state_renewal is useful to the nfs 4.0 client
as well, so rename the function to nfs4_setup_state_renewal.
Signed-off-by: default avatarDonald Buczek <buczek@molgen.mpg.de>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 0efb01b2
...@@ -286,7 +286,7 @@ static int nfs4_begin_drain_session(struct nfs_client *clp) ...@@ -286,7 +286,7 @@ static int nfs4_begin_drain_session(struct nfs_client *clp)
#if defined(CONFIG_NFS_V4_1) #if defined(CONFIG_NFS_V4_1)
static int nfs41_setup_state_renewal(struct nfs_client *clp) static int nfs4_setup_state_renewal(struct nfs_client *clp)
{ {
int status; int status;
struct nfs_fsinfo fsinfo; struct nfs_fsinfo fsinfo;
...@@ -313,7 +313,7 @@ static void nfs41_finish_session_reset(struct nfs_client *clp) ...@@ -313,7 +313,7 @@ static void nfs41_finish_session_reset(struct nfs_client *clp)
clear_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); clear_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state);
/* create_session negotiated new slot table */ /* create_session negotiated new slot table */
clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state); clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state);
nfs41_setup_state_renewal(clp); nfs4_setup_state_renewal(clp);
} }
int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment