[-mm patch] make fs/nfsd/nfs4callback.c:do_probe_callback() static

Adrian Bunk
2007-08-14T21:32:41Z

On Thu, Aug 09, 2007 at 01:51:06AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.23-rc2-mm1:
>...
> git-nfsd.patch
>...
> git trees
>...

do_probe_callback() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
8177c6f652deb91fcb43c8ca86f7703a61468ba9
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index afdf66b..c17a520 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -369,7 +369,7 @@ nfsd4_lookupcred(struct nfs4_client *clp, int taskflags)
/* Reference counting, callback cleanup, etc., all look racy as heck.
* And why is cb_set an atomic? */

-int do_probe_callback(void *data)
+static int do_probe_callback(void *data)
{
struct nfs4_client *clp = data;
struct nfs4_callback *cb = &clp->cl_callback;