]> git.karo-electronics.de Git - linux-beck.git/commit
btrfs: switch to common message helpers in open_ctree, adjust messages
authorDavid Sterba <dsterba@suse.com>
Mon, 9 May 2016 09:32:39 +0000 (11:32 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 May 2016 07:43:44 +0000 (09:43 +0200)
commit05135f597adcb94dc34fa87b82e68eb55e00f0eb
tree0adf2d34f7f64ed2830daeaf5ccaafe1558fdd0e
parent2355ac8495c1fb8ae58bdfe191489682538c697d
btrfs: switch to common message helpers in open_ctree, adjust messages

Currently we lack the identification of the filesystem in most if not
all mount messages, done via printk/pr_* functions. We can use the
btrfs_* helpers in open_ctree, as the fs_info <-> sb link is established
at the beginning of the function.

The messages have been updated at the same time to be more consistent:

* dropped sb->s_id, as it's not available via btrfs_*
* added %d for return code where appropriate
* wording changed
* %Lx replaced by %llx

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c