aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 09:22:48 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 15:25:12 -0400
commit90a16617ee6a052c3a1aac00eb67136324cf4dd0 (patch)
tree9c164467a9270234b2cf6b167b6427733e50b8c6 /fs/nfs/nfs4state.c
parent591d71cbde186cc498c0d9718dc17f2fadf7c643 (diff)
nfs41: add a get_clid_cred function to nfs4_state_recovery_ops
EXCHANGE_ID has different credential requirements than SETCLIENTID. Prepare for a separate credential function. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index e17bd4412174..90e56072844b 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -1102,7 +1102,7 @@ static int nfs4_reclaim_lease(struct nfs_client *clp)
1102 nfs4_reboot_recovery_ops[clp->cl_minorversion]; 1102 nfs4_reboot_recovery_ops[clp->cl_minorversion];
1103 int status = -ENOENT; 1103 int status = -ENOENT;
1104 1104
1105 cred = nfs4_get_setclientid_cred(clp); 1105 cred = ops->get_clid_cred(clp);
1106 if (cred != NULL) { 1106 if (cred != NULL) {
1107 status = ops->establish_clid(clp, cred); 1107 status = ops->establish_clid(clp, cred);
1108 put_rpccred(cred); 1108 put_rpccred(cred);