Browse Source

nfsd4: get_backchannel_cred should be static

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Fengguang Wu 12 years ago
parent
commit
2b4cf668a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/nfsd/nfs4callback.c

+ 1 - 1
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);