nfsd4: get_backchannel_cred should be static
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
committed by
J. Bruce Fields
parent
135ae8270d
commit
2b4cf668a7
@@ -642,7 +642,7 @@ int set_callback_cred(void)
|
|||||||
return 0;
|
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) {
|
if (clp->cl_minorversion == 0) {
|
||||||
return get_rpccred(callback_cred);
|
return get_rpccred(callback_cred);
|
||||||
|
|||||||
Reference in New Issue
Block a user