[2/2] btrfs: make the scan logs consistent
diff mbox series

Message ID 20200110090555.7049-2-anand.jain@oracle.com
State New
Headers show
Series
  • [1/2] btrfs: open code log helpers in device_list_add()
Related show

Commit Message

Anand Jain Jan. 10, 2020, 9:05 a.m. UTC
Typically we follow, a logging format <parameter> <value> and no ":"
so just follow that here.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
David,
If required you may roll this into the patch 1/2 in this series. I didn't
dare, as there may be some concerns that it isn't relevent there.

 fs/btrfs/volumes.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch
diff mbox series

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 1a419841fc99..e6c2bf9d9f53 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -891,7 +891,7 @@  static noinline struct btrfs_device *device_list_add(const char *path,
 				mutex_unlock(&fs_devices->device_list_mutex);
 				rcu_read_lock();
 				printk_ratelimited(
-		"BTRFS: duplicate device fsid:devid for %pU:%llu old:%s new:%s",
+		"BTRFS: duplicate device fsid %pU devid %llu old %s new %s",
 					disk_super->fsid, devid,
 					rcu_str_deref(device->name), path);
 				rcu_read_unlock();
@@ -900,7 +900,7 @@  static noinline struct btrfs_device *device_list_add(const char *path,
 			bdput(path_bdev);
 			rcu_read_lock();
 			printk_ratelimited(
-			"BTRFS: device fsid %pU devid %llu moved old:%s new:%s",
+			"BTRFS: device fsid %pU devid %llu moved old %s new %s",
 				disk_super->fsid, devid,
 				rcu_str_deref(device->name), path);
 			rcu_read_unlock();