aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/nfs4_fs.h1
-rw-r--r--fs/nfs/nfs4namespace.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 210e44ed1d2a..3ce79b04522e 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -222,7 +222,6 @@ int nfs_atomic_open(struct inode *, struct dentry *, struct file *,
222extern struct file_system_type nfs4_fs_type; 222extern struct file_system_type nfs4_fs_type;
223 223
224/* nfs4namespace.c */ 224/* nfs4namespace.c */
225rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *);
226struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *, struct inode *, struct qstr *); 225struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *, struct inode *, struct qstr *);
227struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *, 226struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *,
228 struct nfs_fh *, struct nfs_fattr *); 227 struct nfs_fh *, struct nfs_fattr *);
diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c
index ebd8b064843b..4ec0eea68fdf 100644
--- a/fs/nfs/nfs4namespace.c
+++ b/fs/nfs/nfs4namespace.c
@@ -145,7 +145,7 @@ static size_t nfs_parse_server_name(char *string, size_t len,
145 * is searched in the order returned from the server, per RFC 3530 145 * is searched in the order returned from the server, per RFC 3530
146 * recommendation. 146 * recommendation.
147 */ 147 */
148rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *flavors) 148static rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *flavors)
149{ 149{
150 rpc_authflavor_t pseudoflavor; 150 rpc_authflavor_t pseudoflavor;
151 struct nfs4_secinfo4 *secinfo; 151 struct nfs4_secinfo4 *secinfo;