diff options
author | Frank Holton <fholton@gmail.com> | 2013-12-20 11:37:06 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 16:20:05 -0500 |
commit | efe120a067c8674a8ae21b194f0e68f098b61ee2 (patch) | |
tree | 1edb3b59b689a96ec15b548387c048ee959fb6fd /fs/btrfs/root-tree.c | |
parent | 5de865eebb8330eee19c37b31fb6f315a09d4273 (diff) |
Btrfs: convert printk to btrfs_ and fix BTRFS prefix
Convert all applicable cases of printk and pr_* to the btrfs_* macros.
Fix all uses of the BTRFS prefix.
Signed-off-by: Frank Holton <fholton@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r-- | fs/btrfs/root-tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index fcc10ebb71a0..1389b69059de 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c | |||
@@ -44,7 +44,7 @@ static void btrfs_read_root_item(struct extent_buffer *eb, int slot, | |||
44 | if (!need_reset && btrfs_root_generation(item) | 44 | if (!need_reset && btrfs_root_generation(item) |
45 | != btrfs_root_generation_v2(item)) { | 45 | != btrfs_root_generation_v2(item)) { |
46 | if (btrfs_root_generation_v2(item) != 0) { | 46 | if (btrfs_root_generation_v2(item) != 0) { |
47 | printk(KERN_WARNING "btrfs: mismatching " | 47 | printk(KERN_WARNING "BTRFS: mismatching " |
48 | "generation and generation_v2 " | 48 | "generation and generation_v2 " |
49 | "found in root item. This root " | 49 | "found in root item. This root " |
50 | "was probably mounted with an " | 50 | "was probably mounted with an " |
@@ -154,7 +154,7 @@ int btrfs_update_root(struct btrfs_trans_handle *trans, struct btrfs_root | |||
154 | 154 | ||
155 | if (ret != 0) { | 155 | if (ret != 0) { |
156 | btrfs_print_leaf(root, path->nodes[0]); | 156 | btrfs_print_leaf(root, path->nodes[0]); |
157 | printk(KERN_CRIT "unable to update root key %llu %u %llu\n", | 157 | btrfs_crit(root->fs_info, "unable to update root key %llu %u %llu", |
158 | key->objectid, key->type, key->offset); | 158 | key->objectid, key->type, key->offset); |
159 | BUG_ON(1); | 159 | BUG_ON(1); |
160 | } | 160 | } |