aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2011-01-05 21:04:30 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-06 14:46:24 -0500
commitf4eecd5da3422e82e88e36c33cbd2595eebcacb1 (patch)
tree8e49bbe401ed4233e1652843489a4360a94dc69b /fs/nfs/nfs4proc.c
parentea00528126a701845d7c445e725b271940381e3d (diff)
NFS implement v4.0 callback_ident
Use the small id to pointer translator service to provide a unique callback identifier per SETCLIENTID call used to identify the v4.0 callback service associated with the clientid. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 82f3a82b7115..e165c53db08f 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -3484,6 +3484,7 @@ int nfs4_proc_setclientid(struct nfs_client *clp, u32 program,
3484 struct nfs4_setclientid setclientid = { 3484 struct nfs4_setclientid setclientid = {
3485 .sc_verifier = &sc_verifier, 3485 .sc_verifier = &sc_verifier,
3486 .sc_prog = program, 3486 .sc_prog = program,
3487 .sc_cb_ident = clp->cl_cb_ident,
3487 }; 3488 };
3488 struct rpc_message msg = { 3489 struct rpc_message msg = {
3489 .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SETCLIENTID], 3490 .rpc_proc = &nfs4_procedures[NFSPROC4_CLNT_SETCLIENTID],