Skip to content

Commit

Permalink
nfsd4: get_backchannel_cred should be static
Browse files Browse the repository at this point in the history
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
  • Loading branch information
Fengguang Wu authored and J. Bruce Fields committed Nov 14, 2012
1 parent 135ae82 commit 2b4cf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfs4callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2b4cf66

Please sign in to comment.