public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <mason@suse.com>
To: Jeff Chua <jeffchua@silk.corp.fedex.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Jeff Chua <jchua@silk.corp.fedex.com>
Subject: Re: reiserfs problem on SMP
Date: Tue, 12 Jun 2001 10:04:03 -0400	[thread overview]
Message-ID: <274630000.992354643@tiny> (raw)
In-Reply-To: <Pine.LNX.4.33.0106121714030.26519-100000@boston.corp.fedex.com>



On Tuesday, June 12, 2001 05:25:46 PM +0800 Jeff Chua <jeffchua@silk.corp.fedex.com> wrote:

> 
> Got the following journaling error on 2.4.5 SMP during shutdown ...
> 

Known 2.4.5 problem.  Fix below is from Al Viro:

-chris

diff -Nru a/fs/super.c b/fs/super.c
--- a/fs/super.c	Sat Jun  2 13:27:07 2001
+++ b/fs/super.c	Sat Jun  2 13:27:07 2001
@@ -873,6 +873,7 @@
 	}
 	spin_unlock(&dcache_lock);
 	down_write(&sb->s_umount);
+	lock_kernel();
 	sb->s_root = NULL;
 	/* Need to clean after the sucker */
 	if (fs->fs_flags & FS_LITTER)
@@ -901,6 +902,7 @@
 	put_filesystem(fs);
 	sb->s_type = NULL;
 	unlock_super(sb);
+	unlock_kernel();
 	up_write(&sb->s_umount);
 	if (bdev) {
 		blkdev_put(bdev, BDEV_FS);


      reply	other threads:[~2001-06-12 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-12  9:25 reiserfs problem on SMP Jeff Chua
2001-06-12 14:04 ` Chris Mason [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=274630000.992354643@tiny \
    --to=mason@suse.com \
    --cc=jchua@silk.corp.fedex.com \
    --cc=jeffchua@silk.corp.fedex.com \
    --cc=linux-kernel@vger.kernel.org \
    /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