linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Zielinski <grim@undead.cc>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Rootfs mounted from user space - problem with umount
Date: Sat, 29 Nov 2003 04:40:51 -0500	[thread overview]
Message-ID: <3FC869A3.8070809@undead.cc> (raw)
In-Reply-To: <20031129062136.GH8039@holomorphy.com>

William Lee Irwin III wrote:

>Looks like either namespace->sem or sb->s_umount; you should be able
>to put some instrumentation code in down_write() and/or down_read() to
>see who acquired it first by checking to see if the sem acquired belongs
>to rootfs' sb or some namespace (doubtful you'll create many of them).
>
>
>  
>

Found it.  It was a stupid mistake.  I made the get_sb function return 
the same superblock when it was still get_sb_nodev.  When I switched it 
to the proper get_sb_single I forgot to remove the code that returned 
the old sb so it wasn't calling get_sb_single to increase the sb's usage 
count.  Doh!

John





  reply	other threads:[~2003-11-29  9:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-29  5:24 Rootfs mounted from user space - problem with umount John Zielinski
2003-11-29  5:31 ` William Lee Irwin III
2003-11-29  6:14   ` John Zielinski
2003-11-29  6:21     ` William Lee Irwin III
2003-11-29  9:40       ` John Zielinski [this message]
2003-11-29  9:44         ` William Lee Irwin III
2003-11-29 20:02           ` John Zielinski
2003-11-29 20:20             ` John Zielinski
2003-11-29 20:25               ` William Lee Irwin III
2003-11-29 21:05                 ` John Zielinski
2003-11-29 21:17                   ` Sean Neakums
2003-11-29 21:42                     ` John Zielinski
2003-11-30  0:38                       ` [OT] " Sean Neakums
2003-11-29  5:38 ` Valdis.Kletnieks
2003-11-29  6:25   ` John Zielinski

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=3FC869A3.8070809@undead.cc \
    --to=grim@undead.cc \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /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).