aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-09-20 10:05:01 -0400
committerDavid Sterba <dsterba@suse.com>2016-09-26 12:08:44 -0400
commit62e855771dacf7c4d6daf9741642a965e7066d31 (patch)
tree2d7f6cb2601bb4b5b3ca1cd1f301fadabbdfec76 /fs/btrfs/extent_io.c
parent5d163e0e68ce743e1e919ddd3264c96ac02e9026 (diff)
btrfs: convert printk(KERN_* to use pr_* calls
This patch converts printk(KERN_* style messages to use the pr_* versions. One side effect is that anything that was KERN_DEBUG is now automatically a dynamic debug message. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r--fs/btrfs/extent_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c
index 906c5927b0c6..8c4a0a09c221 100644
--- a/fs/btrfs/extent_io.c
+++ b/fs/btrfs/extent_io.c
@@ -75,7 +75,7 @@ void btrfs_leak_debug_check(void)
75 75
76 while (!list_empty(&buffers)) { 76 while (!list_empty(&buffers)) {
77 eb = list_entry(buffers.next, struct extent_buffer, leak_list); 77 eb = list_entry(buffers.next, struct extent_buffer, leak_list);
78 printk(KERN_ERR "BTRFS: buffer leak start %llu len %lu refs %d\n", 78 pr_err("BTRFS: buffer leak start %llu len %lu refs %d\n",
79 eb->start, eb->len, atomic_read(&eb->refs)); 79 eb->start, eb->len, atomic_read(&eb->refs));
80 list_del(&eb->leak_list); 80 list_del(&eb->leak_list);
81 kmem_cache_free(extent_buffer_cache, eb); 81 kmem_cache_free(extent_buffer_cache, eb);
@@ -460,7 +460,7 @@ static int insert_state(struct extent_io_tree *tree,
460 if (node) { 460 if (node) {
461 struct extent_state *found; 461 struct extent_state *found;
462 found = rb_entry(node, struct extent_state, rb_node); 462 found = rb_entry(node, struct extent_state, rb_node);
463 printk(KERN_ERR "BTRFS: found node %llu %llu on insert of %llu %llu\n", 463 pr_err("BTRFS: found node %llu %llu on insert of %llu %llu\n",
464 found->start, found->end, start, end); 464 found->start, found->end, start, end);
465 return -EEXIST; 465 return -EEXIST;
466 } 466 }