summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorAndy Adamson2009-04-01 15:22:48 +0200
committerBenny Halevy2009-06-17 21:25:12 +0200
commit90a16617ee6a052c3a1aac00eb67136324cf4dd0 (patch)
tree9c164467a9270234b2cf6b167b6427733e50b8c6 /fs/nfs/nfs4_fs.h
parentnfs41: establish sessions-based clientid (diff)
downloadkernel-qcow2-linux-90a16617ee6a052c3a1aac00eb67136324cf4dd0.tar.gz
kernel-qcow2-linux-90a16617ee6a052c3a1aac00eb67136324cf4dd0.tar.xz
kernel-qcow2-linux-90a16617ee6a052c3a1aac00eb67136324cf4dd0.zip
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/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index df9e36319499..1da3e354de22 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -179,6 +179,7 @@ struct nfs4_state_recovery_ops {
int (*recover_open)(struct nfs4_state_owner *, struct nfs4_state *);
int (*recover_lock)(struct nfs4_state *, struct file_lock *);
int (*establish_clid)(struct nfs_client *, struct rpc_cred *);
+ struct rpc_cred * (*get_clid_cred)(struct nfs_client *);
};
struct nfs4_state_maintenance_ops {