From b18db6de2ce2a6ca7f5da03701a2aa8c63b31b74 Mon Sep 17 00:00:00 2001 From: Joe Perches Date: Wed, 30 Mar 2016 05:23:16 -0700 Subject: jfs: Remove terminating newlines from jfs_info, jfs_warn, jfs_err uses These macros add the newline so these cause extra blank lines in logging output. Signed-off-by: Joe Perches Signed-off-by: Dave Kleikamp --- fs/jfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs/jfs/super.c') diff --git a/fs/jfs/super.c b/fs/jfs/super.c index 4f5d85ba8e23..f908012b101a 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -84,7 +84,7 @@ static void jfs_handle_error(struct super_block *sb) panic("JFS (device %s): panic forced after error\n", sb->s_id); else if (sbi->flag & JFS_ERR_REMOUNT_RO) { - jfs_err("ERROR: (device %s): remounting filesystem as read-only\n", + jfs_err("ERROR: (device %s): remounting filesystem as read-only", sb->s_id); sb->s_flags |= MS_RDONLY; } @@ -641,7 +641,7 @@ static int jfs_freeze(struct super_block *sb) } rc = updateSuper(sb, FM_CLEAN); if (rc) { - jfs_err("jfs_freeze: updateSuper failed\n"); + jfs_err("jfs_freeze: updateSuper failed"); /* * Don't fail here. Everything succeeded except * marking the superblock clean, so there's really -- cgit v1.2.3