lkml.org 
[lkml]   [2003]   [Feb]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 27 Feb 2003 21:33:53 -0800
From"Martin J. Bligh" <>
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 12:33    [from the cache]
©2003-2008