Re: rootfs on nfs : oops 2.5.63

From: Andrew Morton (akpm@digeo.com)
Date: Tue Feb 25 2003 - 17:11:34 EST


Emmett Pate <emmett@epate.com> wrote:
>
> I'm having the same problem.
>
> On my notebook (wireless PCMCIA, D-Link DWL650), 2.5.63 oopses immediately on
> trying to mount an NFS filesystem.

Trond quietly sent out the below patch a while back. Could you please see if
this fixes things up?

--- 25/net/sunrpc/clnt.c~rpc_rmdir-fix Mon Feb 24 15:47:53 2003
+++ 25-akpm/net/sunrpc/clnt.c Mon Feb 24 15:47:53 2003
@@ -208,7 +208,8 @@ rpc_destroy_client(struct rpc_clnt *clnt
                 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;

_

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



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:32 EST