summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorFrank Holton <fholton@gmail.com>2013-09-13 17:46:50 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-21 17:05:30 +0200
commit5138cccf3470fcaa8a42df79a17f20c72f866158 (patch)
treefa46e2de84e8240648938905b931605dc3001fc0 /fs/btrfs/volumes.c
parentbtrfs: refuse to remount read-write after abort (diff)
downloadlinux-5138cccf3470fcaa8a42df79a17f20c72f866158.tar.xz
linux-5138cccf3470fcaa8a42df79a17f20c72f866158.zip
btrfs: Add btrfs: prefix to kernel log output
The kernel log entries for device label %s and device fsid %pU are missing the btrfs: prefix. Add those here. Signed-off-by: Frank Holton <fholton@gmail.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/volumes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index a0577352eb6e..043114749516 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -912,9 +912,9 @@ int btrfs_scan_one_device(const char *path, fmode_t flags, void *holder,
if (disk_super->label[0]) {
if (disk_super->label[BTRFS_LABEL_SIZE - 1])
disk_super->label[BTRFS_LABEL_SIZE - 1] = '\0';
- printk(KERN_INFO "device label %s ", disk_super->label);
+ printk(KERN_INFO "btrfs: device label %s ", disk_super->label);
} else {
- printk(KERN_INFO "device fsid %pU ", disk_super->fsid);
+ printk(KERN_INFO "btrfs: device fsid %pU ", disk_super->fsid);
}
printk(KERN_CONT "devid %llu transid %llu %s\n", devid, transid, path);