lkml.org 
[lkml]   [2003]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Reiserfs 3.5 disk format and kernel 2.6.0test9
Hello!

Jorge P?rez "Burgos (Koke)" <koke@eresmas.net> wrote:
JPrBK> I have several partitions with 3.5.x reiserfs disk format, when i boot
JPrBK> up with kernel 2.6.0test9, i have these errors in each partition, even
JPrBK> though the system seems to work well:
JPrBK> buffer layer error at fs/buffer.c:431
JPrBK> Call Trace:
JPrBK> [<c01559f5>] __find_get_block_slow+0x85/0x120

This all looks like this newly discovered problem with 2.6.0-test9 + debian
patchset. Either unapply the part about not doing truncate_inode_pages() in
fs/block_dev.c::kill_bdev()

or apply this patch below which should also help.

Bye,
Oleg

===== fs/reiserfs/super.c 1.69 vs edited =====
--- 1.69/fs/reiserfs/super.c Tue Sep 23 07:16:25 2003
+++ edited/fs/reiserfs/super.c Sun Nov 2 11:11:36 2003
@@ -942,6 +942,7 @@
{
struct buffer_head * bh;
struct reiserfs_super_block * rs;
+ int fs_blocksize;


bh = sb_bread (s, offset / s->s_blocksize);
@@ -961,8 +962,9 @@
//
// ok, reiserfs signature (old or new) found in at the given offset
//
- sb_set_blocksize (s, sb_blocksize(rs));
+ fs_blocksize = sb_blocksize(rs);
brelse (bh);
+ sb_set_blocksize (s, fs_blocksize);

bh = sb_bread (s, offset / s->s_blocksize);
if (!bh) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.169 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site