2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00

nfsd4: get_backchannel_cred should be static

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
Fengguang Wu 2012-11-13 15:41:27 -05:00 committed by J. Bruce Fields
parent 135ae8270d
commit 2b4cf668a7

View File

@ -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);