summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurt Wohlgemuth <curtw@google.com>2010-05-16 13:00:00 -0400
committerTheodore Ts'o <tytso@mit.edu>2010-05-16 13:00:00 -0400
commitfbe845ddf368f77f86aa7500f8fd2690f54c66a8 (patch)
tree81e62af0c35794a4c0a2802d0528cacb43f2b4de
parentd4c402d9fd97a54bb7ed89f9e9869897eb4f6e1f (diff)
downloadlinux-stable-fbe845ddf368f77f86aa7500f8fd2690f54c66a8.tar.gz
linux-stable-fbe845ddf368f77f86aa7500f8fd2690f54c66a8.tar.bz2
linux-stable-fbe845ddf368f77f86aa7500f8fd2690f54c66a8.zip
ext4: Remove extraneous newlines in ext4_msg() calls
Addresses-Google-Bug: #2562325 Signed-off-by: Curt Wohlgemuth <curtw@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/inode.c6
-rw-r--r--fs/ext4/super.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index df43217e4e72..6aa0442811d2 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2276,7 +2276,7 @@ static int mpage_da_map_blocks(struct mpage_da_data *mpd)
ext4_msg(mpd->inode->i_sb, KERN_CRIT,
"delayed block allocation failed for inode %lu at "
"logical offset %llu with max blocks %zd with "
- "error %d\n", mpd->inode->i_ino,
+ "error %d", mpd->inode->i_ino,
(unsigned long long) next,
mpd->b_size >> mpd->inode->i_blkbits, err);
printk(KERN_CRIT "This should not happen!! "
@@ -2944,7 +2944,7 @@ retry:
if (IS_ERR(handle)) {
ret = PTR_ERR(handle);
ext4_msg(inode->i_sb, KERN_CRIT, "%s: jbd2_start: "
- "%ld pages, ino %lu; err %d\n", __func__,
+ "%ld pages, ino %lu; err %d", __func__,
wbc->nr_to_write, inode->i_ino, ret);
goto out_writepages;
}
@@ -3019,7 +3019,7 @@ retry:
if (pages_skipped != wbc->pages_skipped)
ext4_msg(inode->i_sb, KERN_CRIT,
"This should not happen leaving %s "
- "with nr_to_write = %ld ret = %d\n",
+ "with nr_to_write = %ld ret = %d",
__func__, wbc->nr_to_write, ret);
/* Update index */
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 8e655f5acb3a..c597ec73da11 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -2999,7 +2999,7 @@ no_journal:
err = ext4_setup_system_zone(sb);
if (err) {
ext4_msg(sb, KERN_ERR, "failed to initialize system "
- "zone (%d)\n", err);
+ "zone (%d)", err);
goto failed_mount4;
}