summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4callback.c
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-11-13 21:41:27 +0100
committerJ. Bruce Fields <bfields@redhat.com>2012-11-14 17:23:00 +0100
commit2b4cf668a7b8f84182a35f07152d8b6f012629d2 (patch)
treed0421e7eafc88b3dac7ee3967d4510247aa25072 /fs/nfsd/nfs4callback.c
parentnfsd4: init_session should be declared static (diff)
downloadlinux-2b4cf668a7b8f84182a35f07152d8b6f012629d2.tar.xz
linux-2b4cf668a7b8f84182a35f07152d8b6f012629d2.zip
nfsd4: get_backchannel_cred should be static
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4callback.c')
-rw-r--r--fs/nfsd/nfs4callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index 7bb187ac1492..996847023015 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -642,7 +642,7 @@ int set_callback_cred(void)
return 0;
}
-struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses)
+static struct rpc_cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses)
{
if (clp->cl_minorversion == 0) {
return get_rpccred(callback_cred);