aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorDonald Buczek <buczek@molgen.mpg.de>2019-07-07 15:26:09 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-07-13 11:48:41 -0400
commitea51efaa9617ee011f53bcd29752c51cda540e06 (patch)
tree7753a30b35d1078cb2f27b01d3438259399e8fca /fs/nfs
parent0efb01b2ac07976b350b1899333a961fd51d1fdc (diff)
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: Donald Buczek <buczek@molgen.mpg.de> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index e2e3c4f04d3e..778ebfb00d13 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -286,7 +286,7 @@ static int nfs4_begin_drain_session(struct nfs_client *clp)
286 286
287#if defined(CONFIG_NFS_V4_1) 287#if defined(CONFIG_NFS_V4_1)
288 288
289static int nfs41_setup_state_renewal(struct nfs_client *clp) 289static int nfs4_setup_state_renewal(struct nfs_client *clp)
290{ 290{
291 int status; 291 int status;
292 struct nfs_fsinfo fsinfo; 292 struct nfs_fsinfo fsinfo;
@@ -313,7 +313,7 @@ static void nfs41_finish_session_reset(struct nfs_client *clp)
313 clear_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); 313 clear_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state);
314 /* create_session negotiated new slot table */ 314 /* create_session negotiated new slot table */
315 clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state); 315 clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state);
316 nfs41_setup_state_renewal(clp); 316 nfs4_setup_state_renewal(clp);
317} 317}
318 318
319int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred) 319int nfs41_init_clientid(struct nfs_client *clp, const struct cred *cred)