aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 06b969c14625..a2a3f529cada 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -24,7 +24,6 @@ int btrfs_insert_dev_radix(struct btrfs_root *root,
24 u64 num_blocks) 24 u64 num_blocks)
25{ 25{
26 struct dev_lookup *lookup; 26 struct dev_lookup *lookup;
27 char b[BDEVNAME_SIZE];
28 int ret; 27 int ret;
29 28
30 lookup = kmalloc(sizeof(*lookup), GFP_NOFS); 29 lookup = kmalloc(sizeof(*lookup), GFP_NOFS);
@@ -34,7 +33,6 @@ int btrfs_insert_dev_radix(struct btrfs_root *root,
34 lookup->num_blocks = num_blocks; 33 lookup->num_blocks = num_blocks;
35 lookup->bdev = bdev; 34 lookup->bdev = bdev;
36 lookup->device_id = device_id; 35 lookup->device_id = device_id;
37printk("inserting %s into dev radix %Lu %Lu\n", bdevname(bdev, b), block_start, num_blocks);
38 36
39 ret = radix_tree_insert(&root->fs_info->dev_radix, block_start + 37 ret = radix_tree_insert(&root->fs_info->dev_radix, block_start +
40 num_blocks - 1, lookup); 38 num_blocks - 1, lookup);