linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: lookup_one_len() returning d_count == 0
Date: Tue, 31 Mar 2009 15:40:04 -0400	[thread overview]
Message-ID: <49D27194.50201@RedHat.com> (raw)
In-Reply-To: <1238261492.6679.9.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>

Trond Myklebust wrote:
> My guess is that the dentry is being dput() twice somewhere, and so ends
> up with a d_count==-1. I'd suggest adding a
> BUG_ON(atomic_read(&dentry->d_count) <= 0) after the 'repeat:' label at
> the top of dput() in order to try to catch the culprit.
Thanks for the tip... that worked like a charm... 

steved.

      parent reply	other threads:[~2009-03-31 19:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-28 13:55 lookup_one_len() returning d_count == 0 Steve Dickson
     [not found] ` <49CE2C59.7040102-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-03-28 17:31   ` Trond Myklebust
     [not found]     ` <1238261492.6679.9.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-03-31 19:40       ` Steve Dickson [this message]

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=49D27194.50201@RedHat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).