Displaying 3 results from an estimated 3 matches for "ext2_free_block".
Did you mean:
ext2_free_blocks
2006 May 06
1
extlinux 3.20-pre8 notes
....cfg/default, Is this an oversight,
or something Im misremembering ?
- extlinux doesnt have the timeout after menu-choice.
if I dont choose, it times out and picks the 1st LABEL,
but if I choose another and dont hit return, it just sits there.
- what does this mean ?
EXT2-fs error (device hda1): ext2_free_blocks: bit already cleared for
block 430629
EXT2-fs error (device hda1): ext2_free_blocks: bit already cleared for
block 430630
EXT2-fs error (device hda1): ext2_free_blocks: bit already cleared for
block 430631
EXT2-fs error (device hda1): ext2_free_blocks: bit already cleared for
block 430632
A few hr...
2009 Apr 27
2
kickstart problems...
...like to write protect)
4. OT: fs corruption ont he USB keys...
I copy the iso file on the key (no error message), then compare it to the original and
some random differences appear. I noticed in the logs:
"ext2_new_block: Allocating block in system zone - block = 65536"
"ext2_free_blocks: bit already cleared for block 88678"
"ext2_free_blocks: Freeing blocks not in datazone - block = 3003818537, count = 1"
Any idea how to fix 2. and 3. ?
Thx,
JD
2006 Apr 02
1
Zeroing freed blocks
...t
}
}
+static inline void zero_block(struct super_block *sb, unsigned long block)
+{
+ struct buffer_head * bh;
+
+ bh = sb_getblk(sb, block);
+ memset(bh->b_data, 0, bh->b_size);
+ mark_buffer_dirty(bh);
+ brelse(bh);
+}
+
/* Free given blocks, update quota and i_blocks field */
void ext2_free_blocks (struct inode * inode, unsigned long block,
unsigned long count)
@@ -242,6 +252,9 @@ do_more:
"bit already cleared for block %lu", block + i);
} else {
group_freed++;
+ if ( test_opt(sb, ZEROFREE) ) {
+ zero_block(sb, block+i);
+ }
}
}
--- linux-2.6.16...