nfsd4: get_backchannel_cred should be static
authorFengguang Wu <fengguang.wu@intel.com>
Tue, 13 Nov 2012 20:41:27 +0000 (15:41 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 14 Nov 2012 16:23:00 +0000 (11:23 -0500)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c

index 7bb187ac149228d49cdc000d29c26bfca7437e9f..9968470230151ac5251d564a2283c972e2c46d7a 100644 (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);