|
@@ -4236,6 +4236,7 @@ static int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred)
|
|
|
|
|
|
dprintk("--> %s\n", __func__);
|
|
dprintk("--> %s\n", __func__);
|
|
BUG_ON(clp == NULL);
|
|
BUG_ON(clp == NULL);
|
|
|
|
+
|
|
p = (u32 *)verifier.data;
|
|
p = (u32 *)verifier.data;
|
|
*p++ = htonl((u32)clp->cl_boot_time.tv_sec);
|
|
*p++ = htonl((u32)clp->cl_boot_time.tv_sec);
|
|
*p = htonl((u32)clp->cl_boot_time.tv_nsec);
|
|
*p = htonl((u32)clp->cl_boot_time.tv_nsec);
|
|
@@ -4795,12 +4796,14 @@ struct nfs4_state_recovery_ops nfs4_nograce_recovery_ops = {
|
|
|
|
|
|
struct nfs4_state_maintenance_ops nfs40_state_renewal_ops = {
|
|
struct nfs4_state_maintenance_ops nfs40_state_renewal_ops = {
|
|
.sched_state_renewal = nfs4_proc_async_renew,
|
|
.sched_state_renewal = nfs4_proc_async_renew,
|
|
|
|
+ .get_state_renewal_cred_locked = nfs4_get_renew_cred_locked,
|
|
.renew_lease = nfs4_proc_renew,
|
|
.renew_lease = nfs4_proc_renew,
|
|
};
|
|
};
|
|
|
|
|
|
#if defined(CONFIG_NFS_V4_1)
|
|
#if defined(CONFIG_NFS_V4_1)
|
|
struct nfs4_state_maintenance_ops nfs41_state_renewal_ops = {
|
|
struct nfs4_state_maintenance_ops nfs41_state_renewal_ops = {
|
|
.sched_state_renewal = nfs41_proc_async_sequence,
|
|
.sched_state_renewal = nfs41_proc_async_sequence,
|
|
|
|
+ .get_state_renewal_cred_locked = nfs4_get_machine_cred_locked,
|
|
.renew_lease = nfs4_proc_sequence,
|
|
.renew_lease = nfs4_proc_sequence,
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|