]> git.baikalelectronics.ru Git - kernel.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)
commit436b7894e39d6ab4bc9cd590756ae58c01b524eb
tree0adf2d34f7f64ed2830daeaf5ccaafe1558fdd0e
parent2f2789e2d942601c300dae51c50ef1325e6a6503
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