nfs4_fs.h (a55d3297be587c6baa0242ae0fbb92489e576005) | nfs4_fs.h (f2aedb713c284429987dc66c7aaf38decfc8da2a) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * linux/fs/nfs/nfs4_fs.h 4 * 5 * Copyright (C) 2005 Trond Myklebust 6 * 7 * NFSv4-specific filesystem definitions and declarations 8 */ --- 254 unchanged lines hidden (view full) --- 263}; 264 265extern const struct dentry_operations nfs4_dentry_operations; 266 267/* dir.c */ 268int nfs_atomic_open(struct inode *, struct dentry *, struct file *, 269 unsigned, umode_t); 270 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * linux/fs/nfs/nfs4_fs.h 4 * 5 * Copyright (C) 2005 Trond Myklebust 6 * 7 * NFSv4-specific filesystem definitions and declarations 8 */ --- 254 unchanged lines hidden (view full) --- 263}; 264 265extern const struct dentry_operations nfs4_dentry_operations; 266 267/* dir.c */ 268int nfs_atomic_open(struct inode *, struct dentry *, struct file *, 269 unsigned, umode_t); 270 |
271/* super.c */ | 271/* fs_context.c */ |
272extern struct file_system_type nfs4_fs_type; 273 274/* nfs4namespace.c */ 275struct rpc_clnt *nfs4_negotiate_security(struct rpc_clnt *, struct inode *, 276 const struct qstr *); | 272extern struct file_system_type nfs4_fs_type; 273 274/* nfs4namespace.c */ 275struct rpc_clnt *nfs4_negotiate_security(struct rpc_clnt *, struct inode *, 276 const struct qstr *); |
277struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *, 278 struct nfs_fh *, struct nfs_fattr *); | 277int nfs4_submount(struct fs_context *, struct nfs_server *); |
279int nfs4_replace_transport(struct nfs_server *server, 280 const struct nfs4_fs_locations *locations); 281 282/* nfs4proc.c */ 283extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 284extern int nfs4_async_handle_error(struct rpc_task *task, 285 struct nfs_server *server, 286 struct nfs4_state *state, long *timeout); --- 234 unchanged lines hidden (view full) --- 521extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp); 522extern int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res); 523extern const nfs4_stateid zero_stateid; 524extern const nfs4_stateid invalid_stateid; 525 526/* nfs4super.c */ 527struct nfs_mount_info; 528extern struct nfs_subversion nfs_v4; | 278int nfs4_replace_transport(struct nfs_server *server, 279 const struct nfs4_fs_locations *locations); 280 281/* nfs4proc.c */ 282extern int nfs4_handle_exception(struct nfs_server *, int, struct nfs4_exception *); 283extern int nfs4_async_handle_error(struct rpc_task *task, 284 struct nfs_server *server, 285 struct nfs4_state *state, long *timeout); --- 234 unchanged lines hidden (view full) --- 520extern void nfs4_free_lock_state(struct nfs_server *server, struct nfs4_lock_state *lsp); 521extern int nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res); 522extern const nfs4_stateid zero_stateid; 523extern const nfs4_stateid invalid_stateid; 524 525/* nfs4super.c */ 526struct nfs_mount_info; 527extern struct nfs_subversion nfs_v4; |
529struct dentry *nfs4_try_mount(int, const char *, struct nfs_mount_info *); | |
530extern bool nfs4_disable_idmapping; 531extern unsigned short max_session_slots; 532extern unsigned short max_session_cb_slots; 533extern unsigned short send_implementation_id; 534extern bool recover_lost_locks; 535 536#define NFS4_CLIENT_ID_UNIQ_LEN (64) 537extern char nfs4_client_id_uniquifier[NFS4_CLIENT_ID_UNIQ_LEN]; 538 | 528extern bool nfs4_disable_idmapping; 529extern unsigned short max_session_slots; 530extern unsigned short max_session_cb_slots; 531extern unsigned short send_implementation_id; 532extern bool recover_lost_locks; 533 534#define NFS4_CLIENT_ID_UNIQ_LEN (64) 535extern char nfs4_client_id_uniquifier[NFS4_CLIENT_ID_UNIQ_LEN]; 536 |
537extern int nfs4_try_get_tree(struct fs_context *); 538extern int nfs4_get_referral_tree(struct fs_context *); 539 |
|
539/* nfs4sysctl.c */ 540#ifdef CONFIG_SYSCTL 541int nfs4_register_sysctl(void); 542void nfs4_unregister_sysctl(void); 543#else 544static inline int nfs4_register_sysctl(void) 545{ 546 return 0; --- 75 unchanged lines hidden --- | 540/* nfs4sysctl.c */ 541#ifdef CONFIG_SYSCTL 542int nfs4_register_sysctl(void); 543void nfs4_unregister_sysctl(void); 544#else 545static inline int nfs4_register_sysctl(void) 546{ 547 return 0; --- 75 unchanged lines hidden --- |