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

J. Bruce Fields
2007-08-14T22:17:23Z

On Tue, Aug 14, 2007 at 11:22:58PM +0200, Adrian Bunk wrote:
> 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.

Oops, thanks; applied.--b.

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