summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-zoned-reclaim.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2020-05-14 08:09:29 +0200
committerMike Snitzer <snitzer@redhat.com>2020-05-20 23:09:46 +0200
commit49de3b7d21ef12e03358aa77ad6bff4aaf5ac3f5 (patch)
treedf3cf45cbe276342e03d1f605a8fbfe1b69f39b6 /drivers/md/dm-zoned-reclaim.c
parentdm: use dynamic debug instead of compile-time config option (diff)
downloadlinux-49de3b7d21ef12e03358aa77ad6bff4aaf5ac3f5.tar.xz
linux-49de3b7d21ef12e03358aa77ad6bff4aaf5ac3f5.zip
dm zoned: remove spurious newlines from debugging messages
DMDEBUG will already add a newline to the logging messages, so we shouldn't be adding it to the message itself. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-zoned-reclaim.c')
-rw-r--r--drivers/md/dm-zoned-reclaim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm-zoned-reclaim.c b/drivers/md/dm-zoned-reclaim.c
index 3c8847d49e5a..7e9b11ee064f 100644
--- a/drivers/md/dm-zoned-reclaim.c
+++ b/drivers/md/dm-zoned-reclaim.c
@@ -403,7 +403,7 @@ out:
ret = dmz_flush_metadata(zrc->metadata);
if (ret) {
- DMDEBUG("(%s): Metadata flush for zone %u failed, err %d\n",
+ DMDEBUG("(%s): Metadata flush for zone %u failed, err %d",
dmz_metadata_label(zmd), rzone->id, ret);
return ret;
}
@@ -491,7 +491,7 @@ static void dmz_reclaim_work(struct work_struct *work)
ret = dmz_do_reclaim(zrc);
if (ret) {
- DMDEBUG("(%s): Reclaim error %d\n",
+ DMDEBUG("(%s): Reclaim error %d",
dmz_metadata_label(zmd), ret);
if (!dmz_check_dev(zmd))
return;