aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index e6417a573d44..0e658c1d8211 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -883,6 +883,9 @@ again:
883 spin_lock(&em_tree->lock); 883 spin_lock(&em_tree->lock);
884 em = lookup_extent_mapping(em_tree, logical, *length); 884 em = lookup_extent_mapping(em_tree, logical, *length);
885 spin_unlock(&em_tree->lock); 885 spin_unlock(&em_tree->lock);
886 if (!em) {
887 printk("unable to find logical %Lu\n", logical);
888 }
886 BUG_ON(!em); 889 BUG_ON(!em);
887 890
888 BUG_ON(em->start > logical || em->start + em->len < logical); 891 BUG_ON(em->start > logical || em->start + em->len < logical);