Re: Oops in rpc_depopulate with 2.5.62

Martin J. Bligh (mbligh@aracnet.com)
Thu, 27 Feb 2003 21:33:53 -0800


> Hi Martin,
>
> Trond has the correct fix for this. The patch is as follows:
>
> --- linux-2.5.61-up/net/sunrpc/clnt.c.orig 2003-02-15
> 21:05:02.000000000 ++0100
> +++ linux-2.5.61-up/net/sunrpc/clnt.c 2003-02-17 19:39:20.000000000
> +0100 @@ -208,7 +208,8 @@
> rpcauth_destroy(clnt->cl_auth);
> clnt->cl_auth = NULL;
> }
> - rpc_rmdir(clnt->cl_pathname);
> + if (clnt->cl_pathname[0])
> + rpc_rmdir(clnt->cl_pathname);
> if (clnt->cl_xprt) {
> xprt_destroy(clnt->cl_xprt);
> clnt->cl_xprt = NULL;

Cool - I picked this up from LKML, it's in 63-mjb1 ...

Thanks to everyone for the help with this one.

M.

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