aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 095bf4690e84..2b141c5758ec 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -182,6 +182,7 @@ struct nfs4_state_recovery_ops {
182 182
183struct nfs4_state_maintenance_ops { 183struct nfs4_state_maintenance_ops {
184 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *); 184 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *);
185 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *);
185 int (*renew_lease)(struct nfs_client *, struct rpc_cred *); 186 int (*renew_lease)(struct nfs_client *, struct rpc_cred *);
186}; 187};
187 188
@@ -240,7 +241,11 @@ extern void nfs4_kill_renewd(struct nfs_client *);
240extern void nfs4_renew_state(struct work_struct *); 241extern void nfs4_renew_state(struct work_struct *);
241 242
242/* nfs4state.c */ 243/* nfs4state.c */
244struct rpc_cred *nfs4_get_setclientid_cred(struct nfs_client *clp);
243struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp); 245struct rpc_cred *nfs4_get_renew_cred_locked(struct nfs_client *clp);
246#if defined(CONFIG_NFS_V4_1)
247struct rpc_cred *nfs4_get_machine_cred_locked(struct nfs_client *clp);
248#endif /* CONFIG_NFS_V4_1 */
244 249
245extern struct nfs4_state_owner * nfs4_get_state_owner(struct nfs_server *, struct rpc_cred *); 250extern struct nfs4_state_owner * nfs4_get_state_owner(struct nfs_server *, struct rpc_cred *);
246extern void nfs4_put_state_owner(struct nfs4_state_owner *); 251extern void nfs4_put_state_owner(struct nfs4_state_owner *);