summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/print-tree.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-01-31 01:54:57 +0100
committerJosef Bacik <jbacik@fusionio.com>2013-02-20 18:59:20 +0100
commit0e6360274ff3bd4fb8cf97c5c3483cf5a42a49f4 (patch)
tree0ee56bab39e8e9f994b310fe1be6a5247020e684 /fs/btrfs/print-tree.c
parentbtrfs: annotate intentional switch case fallthroughs (diff)
downloadlinux-0e6360274ff3bd4fb8cf97c5c3483cf5a42a49f4.tar.xz
linux-0e6360274ff3bd4fb8cf97c5c3483cf5a42a49f4.zip
btrfs: add missing break in btrfs_print_leaf()
I don't think that BTRFS_DEV_EXTENT_KEY is supposed to fall through to BTRFS_DEV_STATS_KEY ... Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to '')
-rw-r--r--fs/btrfs/print-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index 50d95fd190a5..920957ecb27e 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -294,6 +294,7 @@ void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l)
btrfs_dev_extent_chunk_offset(l, dev_extent),
(unsigned long long)
btrfs_dev_extent_length(l, dev_extent));
+ break;
case BTRFS_DEV_STATS_KEY:
printk(KERN_INFO "\t\tdevice stats\n");
break;