]> git.hungrycats.org Git - linux/commitdiff
NFSv4: Enable delegations by actually telling the server about our
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Mon, 23 Aug 2004 16:01:42 +0000 (12:01 -0400)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Mon, 23 Aug 2004 16:01:42 +0000 (12:01 -0400)
   recall ability.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
fs/nfs/nfs4state.c

index 8f0e19913b2ff2dcf8fff726ef3784d4807ea314..91e9bd77e0e990a60bbe0661bf115916757e63a5 100644 (file)
@@ -207,7 +207,7 @@ nfs4_put_client(struct nfs4_client *clp)
 
 int nfs4_init_client(struct nfs4_client *clp)
 {
-       int status = nfs4_proc_setclientid(clp, 0, 0);
+       int status = nfs4_proc_setclientid(clp, NFS4_CALLBACK, nfs_callback_tcpport);
        if (status == 0)
                status = nfs4_proc_setclientid_confirm(clp);
        if (status == 0)