summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4namespace.c
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2013-10-18 15:15:15 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-10-28 15:33:34 -0400
commit47fd88e6b79c55e6acccaf832078ed1a340672fa (patch)
tree28569d7b6c0a3fcb673322a26595bfe64a3252d9 /fs/nfs/nfs4namespace.c
parent0625c2dd6ae32a221871ffc04bb752216b823001 (diff)
downloadlinux-stable-47fd88e6b79c55e6acccaf832078ed1a340672fa.tar.gz
linux-stable-47fd88e6b79c55e6acccaf832078ed1a340672fa.tar.bz2
linux-stable-47fd88e6b79c55e6acccaf832078ed1a340672fa.zip
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>
Diffstat (limited to 'fs/nfs/nfs4namespace.c')
-rw-r--r--fs/nfs/nfs4namespace.c2
1 files changed, 1 insertions, 1 deletions
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,
* is searched in the order returned from the server, per RFC 3530
* 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;
struct nfs4_secinfo4 *secinfo;