diff options
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 9fa496387fdf..7a7474073148 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -44,6 +44,7 @@ enum nfs4_client_state { | |||
44 | NFS4CLNT_RECLAIM_REBOOT, | 44 | NFS4CLNT_RECLAIM_REBOOT, |
45 | NFS4CLNT_RECLAIM_NOGRACE, | 45 | NFS4CLNT_RECLAIM_NOGRACE, |
46 | NFS4CLNT_DELEGRETURN, | 46 | NFS4CLNT_DELEGRETURN, |
47 | NFS4CLNT_LAYOUTRECALL, | ||
47 | NFS4CLNT_SESSION_RESET, | 48 | NFS4CLNT_SESSION_RESET, |
48 | NFS4CLNT_RECALL_SLOT, | 49 | NFS4CLNT_RECALL_SLOT, |
49 | }; | 50 | }; |
@@ -109,7 +110,7 @@ struct nfs_unique_id { | |||
109 | struct nfs4_state_owner { | 110 | struct nfs4_state_owner { |
110 | struct nfs_unique_id so_owner_id; | 111 | struct nfs_unique_id so_owner_id; |
111 | struct nfs_server *so_server; | 112 | struct nfs_server *so_server; |
112 | struct rb_node so_client_node; | 113 | struct rb_node so_server_node; |
113 | 114 | ||
114 | struct rpc_cred *so_cred; /* Associated cred */ | 115 | struct rpc_cred *so_cred; /* Associated cred */ |
115 | 116 | ||
@@ -227,12 +228,6 @@ struct nfs4_state_maintenance_ops { | |||
227 | extern const struct dentry_operations nfs4_dentry_operations; | 228 | extern const struct dentry_operations nfs4_dentry_operations; |
228 | extern const struct inode_operations nfs4_dir_inode_operations; | 229 | extern const struct inode_operations nfs4_dir_inode_operations; |
229 | 230 | ||
230 | /* inode.c */ | ||
231 | extern ssize_t nfs4_getxattr(struct dentry *, const char *, void *, size_t); | ||
232 | extern int nfs4_setxattr(struct dentry *, const char *, const void *, size_t, int); | ||
233 | extern ssize_t nfs4_listxattr(struct dentry *, char *, size_t); | ||
234 | |||
235 | |||
236 | /* nfs4proc.c */ | 231 | /* nfs4proc.c */ |
237 | extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); | 232 | extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); |
238 | extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); | 233 | extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); |
@@ -241,11 +236,12 @@ extern int nfs4_proc_async_renew(struct nfs_client *, struct rpc_cred *); | |||
241 | extern int nfs4_proc_renew(struct nfs_client *, struct rpc_cred *); | 236 | extern int nfs4_proc_renew(struct nfs_client *, struct rpc_cred *); |
242 | extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); | 237 | extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); |
243 | extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); | 238 | extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); |
244 | extern int nfs4_do_close(struct path *path, struct nfs4_state *state, gfp_t gfp_mask, int wait); | 239 | extern int nfs4_do_close(struct path *path, struct nfs4_state *state, gfp_t gfp_mask, int wait, bool roc); |
245 | extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle); | 240 | extern int nfs4_server_capabilities(struct nfs_server *server, struct nfs_fh *fhandle); |
246 | extern int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, | 241 | extern int nfs4_proc_fs_locations(struct inode *dir, const struct qstr *name, |
247 | struct nfs4_fs_locations *fs_locations, struct page *page); | 242 | struct nfs4_fs_locations *fs_locations, struct page *page); |
248 | extern void nfs4_release_lockowner(const struct nfs4_lock_state *); | 243 | extern void nfs4_release_lockowner(const struct nfs4_lock_state *); |
244 | extern const struct xattr_handler *nfs4_xattr_handlers[]; | ||
249 | 245 | ||
250 | #if defined(CONFIG_NFS_V4_1) | 246 | #if defined(CONFIG_NFS_V4_1) |
251 | static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) | 247 | static inline struct nfs4_session *nfs4_get_session(const struct nfs_server *server) |
@@ -331,7 +327,6 @@ extern void nfs_free_seqid(struct nfs_seqid *seqid); | |||
331 | extern const nfs4_stateid zero_stateid; | 327 | extern const nfs4_stateid zero_stateid; |
332 | 328 | ||
333 | /* nfs4xdr.c */ | 329 | /* nfs4xdr.c */ |
334 | extern __be32 *nfs4_decode_dirent(struct xdr_stream *, struct nfs_entry *, struct nfs_server *, int); | ||
335 | extern struct rpc_procinfo nfs4_procedures[]; | 330 | extern struct rpc_procinfo nfs4_procedures[]; |
336 | 331 | ||
337 | struct nfs4_mount_data; | 332 | struct nfs4_mount_data; |