aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index a86698cd82fd..280d41f64a57 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -1400,6 +1400,15 @@ static int nfs4_set_client(struct nfs_server *server,
1400 goto error; 1400 goto error;
1401 } 1401 }
1402 1402
1403 /*
1404 * Query for the lease time on clientid setup or renewal
1405 *
1406 * Note that this will be set on nfs_clients that were created
1407 * only for the DS role and did not set this bit, but now will
1408 * serve a dual role.
1409 */
1410 set_bit(NFS_CS_CHECK_LEASE_TIME, &clp->cl_res_state);
1411
1403 server->nfs_client = clp; 1412 server->nfs_client = clp;
1404 dprintk("<-- nfs4_set_client() = 0 [new %p]\n", clp); 1413 dprintk("<-- nfs4_set_client() = 0 [new %p]\n", clp);
1405 return 0; 1414 return 0;