I think I found the problem. The patch below should fix it. I will tryQuote:> Hi
> Accidentally I filled up my jfs root partition.
> After that I had some crashes with jfs
> Below is the dmesg and the crash.
to reproduce the problem and verify that this patch works.
The funny thing is that the bug exists in 2.4 too.Quote:> I had to reboot in kernel 2.4 to be able to delete the files.
I don't know about this.Quote:> Also I found in logs a line with
> _mark_inode_dirty: this cannot happen
===== fs/jfs/jfs_dtree.c 1.21 vs edited =====
--- 1.21/fs/jfs/jfs_dtree.c Thu Mar 13 09:14:08 2003
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;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/