diff options
author | 2015-10-12 16:22:26 -0700 | |
---|---|---|
committer | 2015-10-12 16:22:26 -0700 | |
commit | 640926ffdda7e817965d3bfb5bbbc51598ccf49b (patch) | |
tree | 0fd21a965af94c7586f8e9f692c4676cf1d35ffc /fs/btrfs/root-tree.c | |
parent | Linux 4.3-rc5 (diff) | |
parent | btrfs: switch more printks to our helpers (diff) | |
download | linux-640926ffdda7e817965d3bfb5bbbc51598ccf49b.tar.gz linux-640926ffdda7e817965d3bfb5bbbc51598ccf49b.tar.bz2 linux-640926ffdda7e817965d3bfb5bbbc51598ccf49b.zip |
Merge branch 'cleanup/messages' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux into for-linus-4.4
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r-- | fs/btrfs/root-tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 360a728a639f..42267d37bb94 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c @@ -45,12 +45,13 @@ static void btrfs_read_root_item(struct extent_buffer *eb, int slot, if (!need_reset && btrfs_root_generation(item) != btrfs_root_generation_v2(item)) { if (btrfs_root_generation_v2(item) != 0) { - printk(KERN_WARNING "BTRFS: mismatching " + btrfs_warn(eb->fs_info, + "mismatching " "generation and generation_v2 " "found in root item. This root " "was probably mounted with an " "older kernel. Resetting all " - "new fields.\n"); + "new fields."); } need_reset = 1; } |