Skip to content

Commit

Permalink
btrfs: Add btrfs: prefix to kernel log output
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
  • Loading branch information
frankholton authored and Chris Mason committed Sep 21, 2013
1 parent 6ef3de9 commit 5138ccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5138ccc

Please sign in to comment.