[Patch 1/2] Ext2 fix inefficiency bug
Sven 'sleipnir' Rebhan
odinshorse at googlemail.com
Thu Dec 18 08:37:49 CET 2008
Modified patch originates from Andy Green <andy at openmoko.com>
http://www.mail-archive.com/openmoko-kernel@lists.openmoko.org/msg05705.html
--- fs/ext2/ext2fs.c 2008-12-17 22:55:05.000000000 +0100
+++ fs/ext2/ext2fs.c.new 2008-12-17 22:57:23.000000000 +0100
@@ -358,7 +358,7 @@
indir2_size = blksz;
}
if ((__le32_to_cpu (indir1_block[rblock / perblock]) <<
- log2_blksz) != indir1_blkno) {
+ log2_blksz) != indir2_blkno) {
status = ext2fs_devread
(__le32_to_cpu(indir1_block[rblock / perblock]) << log2_blksz,
0, blksz,
(char *) indir2_block);
More information about the openmoko-kernel
mailing list