]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/nfs/nfs4renewd.c
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / fs / nfs / nfs4renewd.c
index 82e77198d17efdf656315f39c3d50c4d9aa568a9..1f8c2ae43a8dfb871b84f6cc7104655283d95ac3 100644 (file)
@@ -153,7 +153,7 @@ void nfs4_set_lease_period(struct nfs_client *clp,
        spin_unlock(&clp->cl_lock);
 
        /* Cap maximum reconnect timeout at 1/2 lease period */
-       rpc_cap_max_reconnect_timeout(clp->cl_rpcclient, lease >> 1);
+       rpc_set_connect_timeout(clp->cl_rpcclient, lease, lease >> 1);
 }
 
 /*