aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.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/nfs4proc.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/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index dd46339095ce..b4e5442efa6c 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -4786,6 +4786,7 @@ struct nfs4_state_recovery_ops nfs40_reboot_recovery_ops = {
4786 .recover_open = nfs4_open_reclaim, 4786 .recover_open = nfs4_open_reclaim,
4787 .recover_lock = nfs4_lock_reclaim, 4787 .recover_lock = nfs4_lock_reclaim,
4788 .establish_clid = nfs4_init_clientid, 4788 .establish_clid = nfs4_init_clientid,
4789 .get_clid_cred = nfs4_get_setclientid_cred,
4789}; 4790};
4790 4791
4791#if defined(CONFIG_NFS_V4_1) 4792#if defined(CONFIG_NFS_V4_1)
@@ -4804,6 +4805,7 @@ struct nfs4_state_recovery_ops nfs40_nograce_recovery_ops = {
4804 .recover_open = nfs4_open_expired, 4805 .recover_open = nfs4_open_expired,
4805 .recover_lock = nfs4_lock_expired, 4806 .recover_lock = nfs4_lock_expired,
4806 .establish_clid = nfs4_init_clientid, 4807 .establish_clid = nfs4_init_clientid,
4808 .get_clid_cred = nfs4_get_setclientid_cred,
4807}; 4809};
4808 4810
4809#if defined(CONFIG_NFS_V4_1) 4811#if defined(CONFIG_NFS_V4_1)