diff options
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 8 |
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); |
155 | int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *); | 155 | int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *, struct nfs_fattr *); |
156 | void nfs_server_insert_lists(struct nfs_server *); | 156 | void nfs_server_insert_lists(struct nfs_server *); |
157 | void nfs_server_remove_lists(struct nfs_server *); | ||
157 | void nfs_init_timeout_values(struct rpc_timeout *, int, unsigned int, unsigned int); | 158 | void nfs_init_timeout_values(struct rpc_timeout *, int, unsigned int, unsigned int); |
158 | int nfs_init_server_rpcclient(struct nfs_server *, const struct rpc_timeout *t, | 159 | int 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 *); |
175 | extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *, | 176 | extern struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *, |
176 | struct nfs_fh *); | 177 | struct nfs_fh *); |
178 | extern int nfs4_update_server(struct nfs_server *server, const char *hostname, | ||
179 | struct sockaddr *sap, size_t salen); | ||
177 | extern void nfs_free_server(struct nfs_server *server); | 180 | extern void nfs_free_server(struct nfs_server *server); |
178 | extern struct nfs_server *nfs_clone_server(struct nfs_server *, | 181 | extern 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; | |||
323 | extern struct file_system_type nfs4_xdev_fs_type; | 326 | extern struct file_system_type nfs4_xdev_fs_type; |
324 | extern struct file_system_type nfs4_referral_fs_type; | 327 | extern struct file_system_type nfs4_referral_fs_type; |
325 | #endif | 328 | #endif |
329 | bool nfs_auth_info_match(const struct nfs_auth_info *, rpc_authflavor_t); | ||
326 | struct dentry *nfs_try_mount(int, const char *, struct nfs_mount_info *, | 330 | struct dentry *nfs_try_mount(int, const char *, struct nfs_mount_info *, |
327 | struct nfs_subversion *); | 331 | struct nfs_subversion *); |
328 | void nfs_initialise_sb(struct super_block *); | 332 | void nfs_initialise_sb(struct super_block *); |