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

From: Adrian Bunk
Date: Tue Aug 14 2007 - 17:32:44 EST


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@xxxxxxxxxx>

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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/