Re: [PATCH] btrfs: Add btrfs: prefix to kernel log output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 13, 2013 at 11:46:50AM -0400, Frank Holton wrote:
> 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@xxxxxxxxx>
Reviewed-by: David Sterba <dsterba@xxxxxxx>

> -		printk(KERN_INFO "device label %s ", disk_super->label);
> +		printk(KERN_INFO "btrfs: device label %s ", disk_super->label);

We can't use btrfs_info directly in this context, it wants a fs_info
pointer. Although btrfs_info calls to btrfs_printk that actually uses
fs_info only to get the superblock, this is not available at all
callsites either.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux