summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_buf_item.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2014-12-24 09:47:27 +1100
committerDave Chinner <david@fromorbit.com>2014-12-24 09:47:27 +1100
commit77af574eef78c404ea630f7955a5ed0c926a63fe (patch)
tree3097efacf7306d93a66ac3ed6d47ef3d48d59fbb /fs/xfs/xfs_buf_item.c
parent96ab7954bca0eeedfb17094719db1351fba361d3 (diff)
downloadlinux-77af574eef78c404ea630f7955a5ed0c926a63fe.tar.bz2
xfs: remove extra newlines from xfs messages
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>
Diffstat (limited to 'fs/xfs/xfs_buf_item.c')
-rw-r--r--fs/xfs/xfs_buf_item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item.c b/fs/xfs/xfs_buf_item.c
index 3f9bd58edec7..925ead22803a 100644
--- a/fs/xfs/xfs_buf_item.c
+++ b/fs/xfs/xfs_buf_item.c
@@ -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);
}