From: Dave Kleikamp <shaggy@austin.ibm.com>
To: "Szonyi Calin" <sony@etc.utt.ro>,
<jfs-discussion@www-124.southbury.usf.ibm.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: [PATCH] Re: Jfs problems
Date: Mon, 23 Jun 2003 15:33:49 -0500 [thread overview]
Message-ID: <200306231533.49595.shaggy@austin.ibm.com> (raw)
In-Reply-To: <35119.194.138.39.55.1056364461.squirrel@webmail.etc.utt.ro>
On Monday 23 June 2003 05:34, Szonyi Calin wrote:
> Hi
>
> Accidentally I filled up my jfs root partition.
> After that I had some crashes with jfs
> Below is the dmesg and the crash.
I think I found the problem. The patch below should fix it. I will try
to reproduce the problem and verify that this patch works.
> I had to reboot in kernel 2.4 to be able to delete the files.
The funny thing is that the bug exists in 2.4 too.
> Also I found in logs a line with
> _mark_inode_dirty: this cannot happen
I don't know about this.
Thanks,
Shaggy
===== fs/jfs/jfs_dtree.c 1.21 vs edited =====
--- 1.21/fs/jfs/jfs_dtree.c Thu Mar 13 09:14:08 2003
+++ edited/fs/jfs/jfs_dtree.c Mon Jun 23 15:21:03 2003
@@ -2908,7 +2908,7 @@
d->index = cpu_to_le32(add_index(tid, inode, bn, i));
if (dtlck->index >= dtlck->maxcnt)
dtlck = (struct dt_lock *) txLinelock(dtlck);
- lv = dtlck->lv;
+ lv = &dtlck->lv[dtlck->index];
lv->offset = stbl[i];
lv->length = 1;
dtlck->index++;
next prev parent reply other threads:[~2003-06-23 20:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-23 10:34 Szonyi Calin
2003-06-23 20:33 ` Dave Kleikamp [this message]
2003-06-23 21:30 ` [Jfs-discussion] [PATCH] " Dave Kleikamp
2003-06-26 16:48 ` Szonyi Calin
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=200306231533.49595.shaggy@austin.ibm.com \
--to=shaggy@austin.ibm.com \
--cc=jfs-discussion@www-124.southbury.usf.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sony@etc.utt.ro \
/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
all inboxes | Powered by JetHome®