Skip to content

Commit 5128273

Browse files
SesterhennErictytso
authored andcommitted
ext4: Add missing newlines to printk messages
There are some newlines missing in ext4_check_descriptors, which cause the printk level to be printed out when the next printk call is made: [ 778.847265] EXT4-fs: ext4_check_descriptors: Block bitmap for group 0 not in group (block 1509949442)!<3>EXT4-fs: group descriptors corrupted! [ 802.646630] EXT4-fs: ext4_check_descriptors: Inode bitmap for group 0 not in group (block 9043971)!<3>EXT4-fs: group descriptors corrupted! Signed-off-by: Eric Sesterhenn <[email protected]> Signed-off-by: "Theodore Ts'o" <[email protected]>
1 parent 22208de commit 5128273

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/ext4/super.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,22 +1618,22 @@ static int ext4_check_descriptors(struct super_block *sb)
16181618
if (block_bitmap < first_block || block_bitmap > last_block) {
16191619
printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: "
16201620
"Block bitmap for group %lu not in group "
1621-
"(block %llu)!", i, block_bitmap);
1621+
"(block %llu)!\n", i, block_bitmap);
16221622
return 0;
16231623
}
16241624
inode_bitmap = ext4_inode_bitmap(sb, gdp);
16251625
if (inode_bitmap < first_block || inode_bitmap > last_block) {
16261626
printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: "
16271627
"Inode bitmap for group %lu not in group "
1628-
"(block %llu)!", i, inode_bitmap);
1628+
"(block %llu)!\n", i, inode_bitmap);
16291629
return 0;
16301630
}
16311631
inode_table = ext4_inode_table(sb, gdp);
16321632
if (inode_table < first_block ||
16331633
inode_table + sbi->s_itb_per_group - 1 > last_block) {
16341634
printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: "
16351635
"Inode table for group %lu not in group "
1636-
"(block %llu)!", i, inode_table);
1636+
"(block %llu)!\n", i, inode_table);
16371637
return 0;
16381638
}
16391639
spin_lock(sb_bgl_lock(sbi, i));

0 commit comments

Comments
 (0)