[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: rootfs on nfs : oops 2.5.63
From:       Emmett Pate <emmett () epate ! com>
Date:       2003-02-25 22:46:30
[Download RAW message or body]

Works like a champ!  I really appreciate your help.

Emmett Pate


On Tuesday 25 February 2003 05:11 pm, Andrew Morton wrote:
> 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;
>
> _

-- 
Emmett M. Pate, Jr.
EPate & Associates, Inc.
emmett@epate.com

-
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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic