From 754ce95f5c3786d1b5ac2a6dde4a764e50cfd84e Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Fri, 21 Jun 2019 15:19:46 -0700 Subject: [PATCH] scoutfs: use rid in console messages Change the console message output to show the fsid:rid mount identity instead of the block device name and device major and minor numbers. Signed-off-by: Zach Brown --- kmod/src/msg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kmod/src/msg.c b/kmod/src/msg.c index f2ebc81f..1d268de3 100644 --- a/kmod/src/msg.c +++ b/kmod/src/msg.c @@ -18,9 +18,7 @@ void scoutfs_msg(struct super_block *sb, const char *prefix, const char *str, vaf.fmt = fmt; vaf.va = &args; - printk("%sscoutfs (%s %u:%u)%s: %pV\n", prefix, - sb->s_id, MAJOR(sb->s_bdev->bd_dev), MINOR(sb->s_bdev->bd_dev), - str, &vaf); + printk("%sscoutfs "SCSBF"%s: %pV\n", prefix, SCSB_ARGS(sb), str, &vaf); va_end(args); }