summaryrefslogtreecommitdiff
path: root/fs/ext4/balloc.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-01-05 22:17:35 -0500
committerTheodore Ts'o <tytso@mit.edu>2009-01-05 22:17:35 -0500
commitfde4d95ad8711c84a36735a17136c45b19746af9 (patch)
treee4d4dcaeb18083be204ba8fe55a75400ded699ae /fs/ext4/balloc.c
parentfd98496f467b3d26d05ab1498f41718b5ef13de5 (diff)
downloadlwn-fde4d95ad8711c84a36735a17136c45b19746af9.tar.gz
lwn-fde4d95ad8711c84a36735a17136c45b19746af9.zip
ext4: remove extraneous newlines from calls to ext4_error() and ext4_warning()
This removes annoying blank syslog entries emitted by ext4_error() or ext4_warning(), since these functions add their own newline. Signed-off-by: Nick Warne <nick@ukfsn.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r--fs/ext4/balloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c
index 31ebeb5e7b07..0cb1c4572f54 100644
--- a/fs/ext4/balloc.c
+++ b/fs/ext4/balloc.c
@@ -100,7 +100,7 @@ unsigned ext4_init_block_bitmap(struct super_block *sb, struct buffer_head *bh,
* essentially implementing a per-group read-only flag. */
if (!ext4_group_desc_csum_verify(sbi, block_group, gdp)) {
ext4_error(sb, __func__,
- "Checksum bad for group %lu\n", block_group);
+ "Checksum bad for group %lu", block_group);
gdp->bg_free_blocks_count = 0;
gdp->bg_free_inodes_count = 0;
gdp->bg_itable_unused = 0;