aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 38da8c2b81ac..bca6a3e3c49c 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -88,8 +88,8 @@ struct nfs_parsed_mount_data {
88 unsigned int namlen; 88 unsigned int namlen;
89 unsigned int options; 89 unsigned int options;
90 unsigned int bsize; 90 unsigned int bsize;
91 unsigned int auth_flavor_len; 91 struct nfs_auth_info auth_info;
92 rpc_authflavor_t auth_flavors[1]; 92 rpc_authflavor_t selected_flavor;
93 char *client_address; 93 char *client_address;
94 unsigned int version; 94 unsigned int version;
95 unsigned int minorversion; 95 unsigned int minorversion;
@@ -154,6 +154,7 @@ struct nfs_client *nfs_get_client(const struct nfs_client_initdata *,
154 rpc_authflavor_t); 154 rpc_authflavor_t);
155int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *); 155int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *);
156void nfs_server_insert_lists(struct nfs_server *); 156void nfs_server_insert_lists(struct nfs_server *);
157void nfs_server_remove_lists(struct nfs_server *);
157void nfs_init_timeout_values(struct rpc_timeout *, int, unsigned int, unsigned int); 158void nfs_init_timeout_values(struct rpc_timeout *, int, unsigned int, unsigned int);
158int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, 159int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t,
159 rpc_authflavor_t); 160 rpc_authflavor_t);
@@ -174,6 +175,8 @@ extern struct nfs_server *nfs4_create_server(
174 struct nfs_subversion *); 175 struct nfs_subversion *);
175extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *, 176extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *,
176 struct nfs_fh *); 177 struct nfs_fh *);
178extern int nfs4_update_server(struct nfs_server *server, const char *hostname,
179 struct sockaddr *sap, size_t salen);
177extern void nfs_free_server(struct nfs_server *server); 180extern void nfs_free_server(struct nfs_server *server);
178extern struct nfs_server *nfs_clone_server(struct nfs_server *, 181extern struct nfs_server *nfs_clone_server(struct nfs_server *,
179 struct nfs_fh *, 182 struct nfs_fh *,
@@ -323,6 +326,7 @@ extern struct file_system_type nfs_xdev_fs_type;
323extern struct file_system_type nfs4_xdev_fs_type; 326extern struct file_system_type nfs4_xdev_fs_type;
324extern struct file_system_type nfs4_referral_fs_type; 327extern struct file_system_type nfs4_referral_fs_type;
325#endif 328#endif
329bool nfs_auth_info_match(const struct nfs_auth_info *, rpc_authflavor_t);
326struct dentry *nfs_try_mount(int, const char *, struct nfs_mount_info *, 330struct dentry *nfs_try_mount(int, const char *, struct nfs_mount_info *,
327 struct nfs_subversion *); 331 struct nfs_subversion *);
328void nfs_initialise_sb(struct super_block *); 332void nfs_initialise_sb(struct super_block *);