xfs: remove extra newlines from xfs messages
authorEric Sandeen <sandeen@redhat.com>
Tue, 23 Dec 2014 22:47:27 +0000 (09:47 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 23 Dec 2014 22:47:27 +0000 (09:47 +1100)
xfs_warn() and friends add a newline by default, but some
messages add another one.

Particularly for the failing write message below, this can
waste a lot of console real estate!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_log.c
fs/xfs/xfs_super.c

index 3f9bd58..925ead2 100644 (file)
@@ -535,7 +535,7 @@ xfs_buf_item_push(
        if ((bp->b_flags & XBF_WRITE_FAIL) &&
            ___ratelimit(&xfs_buf_write_fail_rl_state, "XFS:")) {
                xfs_warn(bp->b_target->bt_mount,
-"Detected failing async write on buffer block 0x%llx. Retrying async write.\n",
+"Detected failing async write on buffer block 0x%llx. Retrying async write.",
                         (long long)bp->b_bn);
        }
 
Simple merge
Simple merge