* [PATCH 2.6.7-rc1] ext2 debugger broken
@ 2004-05-24 18:30 FabF
0 siblings, 0 replies; only message in thread
From: FabF @ 2004-05-24 18:30 UTC (permalink / raw)
To: linus; +Cc: lkml
[-- Attachment #1: Type: text/plain, Size: 98 bytes --]
Linus,
This fixes ext2 debugger.It seems percpu_counter_read stamp moved
lately.
Regards,
FabF
[-- Attachment #2: ext2dbg1.diff --]
[-- Type: text/x-patch, Size: 802 bytes --]
diff -Naur orig/fs/ext2/ialloc.c edited/fs/ext2/ialloc.c
--- orig/fs/ext2/ialloc.c 2004-05-10 04:32:37.000000000 +0200
+++ edited/fs/ext2/ialloc.c 2004-05-24 20:09:33.000000000 +0200
@@ -663,7 +663,7 @@
}
brelse(bitmap_bh);
printk("ext2_count_free_inodes: stored = %lu, computed = %lu, %lu\n",
- percpu_counter_read(EXT2_SB(sb)->s_freeinodes_counter),
+ percpu_counter_read(&EXT2_SB(sb)->s_freeinodes_counter),
desc_count, bitmap_count);
unlock_super(sb);
return desc_count;
@@ -724,7 +724,7 @@
bitmap_count += x;
}
brelse(bitmap_bh);
- if (percpu_counter_read(EXT2_SB(sb)->s_freeinodes_counter) !=
+ if (percpu_counter_read(&EXT2_SB(sb)->s_freeinodes_counter) !=
bitmap_count)
ext2_error(sb, "ext2_check_inodes_bitmap",
"Wrong free inodes count in super block, "
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-24 19:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-24 18:30 [PATCH 2.6.7-rc1] ext2 debugger broken FabF
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox