All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maneesh Soni <maneesh@in.ibm.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: Andrew Morton <akpm@digeo.com>,
	Dipankar Sarma <dipankar@in.ibm.com>,
	trond.myklebust@fys.uio.no, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Oops in rpc_depopulate with 2.5.62
Date: Fri, 28 Feb 2003 10:37:00 +0530	[thread overview]
Message-ID: <20030228050700.GA1134@in.ibm.com> (raw)
In-Reply-To: <7620000.1046277387@[10.10.2.4]>

On Wed, Feb 26, 2003 at 08:36:29AM -0800, Martin J. Bligh wrote:
> 
> This seems to fix the problem. No idea what it's doing, but it works ;-)
> 
> M.
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;

Regards,
Maneesh


-- 
Maneesh Soni
IBM Linux Technology Center, 
IBM India Software Lab, Bangalore.
Phone: +91-80-5044999 email: maneesh@in.ibm.com
http://lse.sourceforge.net/

  parent reply	other threads:[~2003-02-28  4:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-22  8:09 Oops in rpc_depopulate with 2.5.62 Martin J. Bligh
     [not found] ` <20030222004930.0240738b.akpm@digeo.com>
2003-02-24 12:14   ` Maneesh Soni
2003-02-26 16:36     ` Martin J. Bligh
2003-02-26 22:54       ` Bill Davidsen
2003-02-28  5:07       ` Maneesh Soni [this message]
2003-02-28  5:33         ` Martin J. Bligh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030228050700.GA1134@in.ibm.com \
    --to=maneesh@in.ibm.com \
    --cc=akpm@digeo.com \
    --cc=dipankar@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    --cc=trond.myklebust@fys.uio.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.