aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-26 12:49:34 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-05 18:30:45 -0500
commit73e39aaa8366694450cd6034050f542f965e277d (patch)
treedf731a81afdd826a401f611dd85c9cf08a9cd0c1 /fs/nfs/nfs4_fs.h
parent330212796756ca2752b2a70a83860e145b77487c (diff)
NFSv4.1: Cleanup move session slot management to fs/nfs/nfs4session.c
NFSv4.1 session management is getting complex enough to deserve a separate file. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 2f6a9f9d9299..cd3e3096b60a 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -249,19 +249,13 @@ extern int nfs4_setup_sequence(const struct nfs_server *server,
249extern int nfs41_setup_sequence(struct nfs4_session *session, 249extern int nfs41_setup_sequence(struct nfs4_session *session,
250 struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, 250 struct nfs4_sequence_args *args, struct nfs4_sequence_res *res,
251 struct rpc_task *task); 251 struct rpc_task *task);
252extern void nfs4_destroy_session(struct nfs4_session *session);
253extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp);
254extern int nfs4_proc_create_session(struct nfs_client *, struct rpc_cred *); 252extern int nfs4_proc_create_session(struct nfs_client *, struct rpc_cred *);
255extern int nfs4_proc_destroy_session(struct nfs4_session *, struct rpc_cred *); 253extern int nfs4_proc_destroy_session(struct nfs4_session *, struct rpc_cred *);
256extern int nfs4_init_session(struct nfs_server *server);
257extern int nfs4_proc_get_lease_time(struct nfs_client *clp, 254extern int nfs4_proc_get_lease_time(struct nfs_client *clp,
258 struct nfs_fsinfo *fsinfo); 255 struct nfs_fsinfo *fsinfo);
259extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, 256extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data,
260 bool sync); 257 bool sync);
261 258
262extern void nfs41_set_target_slotid(struct nfs4_slot_table *tbl,
263 u32 target_highest_slotid);
264
265static inline bool 259static inline bool
266is_ds_only_client(struct nfs_client *clp) 260is_ds_only_client(struct nfs_client *clp)
267{ 261{
@@ -287,11 +281,6 @@ static inline int nfs4_setup_sequence(const struct nfs_server *server,
287 return 0; 281 return 0;
288} 282}
289 283
290static inline int nfs4_init_session(struct nfs_server *server)
291{
292 return 0;
293}
294
295static inline bool 284static inline bool
296is_ds_only_client(struct nfs_client *clp) 285is_ds_only_client(struct nfs_client *clp)
297{ 286{