lkml.org 
[lkml]   [2003]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Oops in rpc_depopulate with 2.5.62
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site