aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorEric Sesterhenn <snakebyte@gmx.de>2008-10-17 09:16:19 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-10-17 09:16:19 -0400
commit5128273a326679970b9196a27ff812670927c1c4 (patch)
treef2acecf3bed1af523ca385589579235dd1277995 /fs/ext4/super.c
parent22208dedbd7626e5fc4339c417f8d24cc21f79d7 (diff)
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 <snakebyte@gmx.de> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 4f41107021cf..a97e9ebe3b60 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1618,14 +1618,14 @@ static int ext4_check_descriptors(struct super_block *sb)
1618 if (block_bitmap < first_block || block_bitmap > last_block) { 1618 if (block_bitmap < first_block || block_bitmap > last_block) {
1619 printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: " 1619 printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: "
1620 "Block bitmap for group %lu not in group " 1620 "Block bitmap for group %lu not in group "
1621 "(block %llu)!", i, block_bitmap); 1621 "(block %llu)!\n", i, block_bitmap);
1622 return 0; 1622 return 0;
1623 } 1623 }
1624 inode_bitmap = ext4_inode_bitmap(sb, gdp); 1624 inode_bitmap = ext4_inode_bitmap(sb, gdp);
1625 if (inode_bitmap < first_block || inode_bitmap > last_block) { 1625 if (inode_bitmap < first_block || inode_bitmap > last_block) {
1626 printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: " 1626 printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: "
1627 "Inode bitmap for group %lu not in group " 1627 "Inode bitmap for group %lu not in group "
1628 "(block %llu)!", i, inode_bitmap); 1628 "(block %llu)!\n", i, inode_bitmap);
1629 return 0; 1629 return 0;
1630 } 1630 }
1631 inode_table = ext4_inode_table(sb, gdp); 1631 inode_table = ext4_inode_table(sb, gdp);
@@ -1633,7 +1633,7 @@ static int ext4_check_descriptors(struct super_block *sb)
1633 inode_table + sbi->s_itb_per_group - 1 > last_block) { 1633 inode_table + sbi->s_itb_per_group - 1 > last_block) {
1634 printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: " 1634 printk(KERN_ERR "EXT4-fs: ext4_check_descriptors: "
1635 "Inode table for group %lu not in group " 1635 "Inode table for group %lu not in group "
1636 "(block %llu)!", i, inode_table); 1636 "(block %llu)!\n", i, inode_table);
1637 return 0; 1637 return 0;
1638 } 1638 }
1639 spin_lock(sb_bgl_lock(sbi, i)); 1639 spin_lock(sb_bgl_lock(sbi, i));