diff options
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index acac6f8c3d39..eccf4e93e7d7 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -203,8 +203,18 @@ extern int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | |||
203 | extern struct nfs4_state_recovery_ops nfs4_reboot_recovery_ops; | 203 | extern struct nfs4_state_recovery_ops nfs4_reboot_recovery_ops; |
204 | extern struct nfs4_state_recovery_ops nfs4_nograce_recovery_ops; | 204 | extern struct nfs4_state_recovery_ops nfs4_nograce_recovery_ops; |
205 | #if defined(CONFIG_NFS_V4_1) | 205 | #if defined(CONFIG_NFS_V4_1) |
206 | extern int nfs4_setup_sequence(struct nfs_client *clp, | ||
207 | struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, | ||
208 | int cache_reply, struct rpc_task *task); | ||
206 | extern void nfs4_destroy_session(struct nfs4_session *session); | 209 | extern void nfs4_destroy_session(struct nfs4_session *session); |
207 | extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); | 210 | extern struct nfs4_session *nfs4_alloc_session(struct nfs_client *clp); |
211 | #else /* CONFIG_NFS_v4_1 */ | ||
212 | static inline int nfs4_setup_sequence(struct nfs_client *clp, | ||
213 | struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, | ||
214 | int cache_reply, struct rpc_task *task) | ||
215 | { | ||
216 | return 0; | ||
217 | } | ||
208 | #endif /* CONFIG_NFS_V4_1 */ | 218 | #endif /* CONFIG_NFS_V4_1 */ |
209 | 219 | ||
210 | extern const u32 nfs4_fattr_bitmap[2]; | 220 | extern const u32 nfs4_fattr_bitmap[2]; |