diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-26 12:49:34 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-05 18:30:45 -0500 |
commit | 73e39aaa8366694450cd6034050f542f965e277d (patch) | |
tree | df731a81afdd826a401f611dd85c9cf08a9cd0c1 /fs/nfs/nfs4_fs.h | |
parent | 330212796756ca2752b2a70a83860e145b77487c (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.h | 11 |
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, | |||
249 | extern int nfs41_setup_sequence(struct nfs4_session *session, | 249 | extern 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); |
252 | extern void nfs4_destroy_session(struct nfs4_session *session); | ||
253 | extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); | ||
254 | extern int nfs4_proc_create_session(struct nfs_client *, struct rpc_cred *); | 252 | extern int nfs4_proc_create_session(struct nfs_client *, struct rpc_cred *); |
255 | extern int nfs4_proc_destroy_session(struct nfs4_session *, struct rpc_cred *); | 253 | extern int nfs4_proc_destroy_session(struct nfs4_session *, struct rpc_cred *); |
256 | extern int nfs4_init_session(struct nfs_server *server); | ||
257 | extern int nfs4_proc_get_lease_time(struct nfs_client *clp, | 254 | extern int nfs4_proc_get_lease_time(struct nfs_client *clp, |
258 | struct nfs_fsinfo *fsinfo); | 255 | struct nfs_fsinfo *fsinfo); |
259 | extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, | 256 | extern int nfs4_proc_layoutcommit(struct nfs4_layoutcommit_data *data, |
260 | bool sync); | 257 | bool sync); |
261 | 258 | ||
262 | extern void nfs41_set_target_slotid(struct nfs4_slot_table *tbl, | ||
263 | u32 target_highest_slotid); | ||
264 | |||
265 | static inline bool | 259 | static inline bool |
266 | is_ds_only_client(struct nfs_client *clp) | 260 | is_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 | ||
290 | static inline int nfs4_init_session(struct nfs_server *server) | ||
291 | { | ||
292 | return 0; | ||
293 | } | ||
294 | |||
295 | static inline bool | 284 | static inline bool |
296 | is_ds_only_client(struct nfs_client *clp) | 285 | is_ds_only_client(struct nfs_client *clp) |
297 | { | 286 | { |