mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
NFSv4: make nfs_find_best_sec static
It's not used outside of nfs4namespace.c anymore. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
0625c2dd6a
commit
47fd88e6b7
2 changed files with 1 additions and 2 deletions
|
@ -222,7 +222,6 @@ int nfs_atomic_open(struct inode *, struct dentry *, struct file *,
|
||||||
extern struct file_system_type nfs4_fs_type;
|
extern struct file_system_type nfs4_fs_type;
|
||||||
|
|
||||||
/* nfs4namespace.c */
|
/* nfs4namespace.c */
|
||||||
rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *);
|
|
||||||
struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *, struct inode *, struct qstr *);
|
struct rpc_clnt *nfs4_create_sec_client(struct rpc_clnt *, struct inode *, struct qstr *);
|
||||||
struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *,
|
struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *,
|
||||||
struct nfs_fh *, struct nfs_fattr *);
|
struct nfs_fh *, struct nfs_fattr *);
|
||||||
|
|
|
@ -145,7 +145,7 @@ static size_t nfs_parse_server_name(char *string, size_t len,
|
||||||
* is searched in the order returned from the server, per RFC 3530
|
* is searched in the order returned from the server, per RFC 3530
|
||||||
* recommendation.
|
* recommendation.
|
||||||
*/
|
*/
|
||||||
rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *flavors)
|
static rpc_authflavor_t nfs_find_best_sec(struct nfs4_secinfo_flavors *flavors)
|
||||||
{
|
{
|
||||||
rpc_authflavor_t pseudoflavor;
|
rpc_authflavor_t pseudoflavor;
|
||||||
struct nfs4_secinfo4 *secinfo;
|
struct nfs4_secinfo4 *secinfo;
|
||||||
|
|
Loading…
Add table
Reference in a new issue