summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2012-05-07 14:00:20 +0200
committerDavid Sterba <dsterba@suse.cz>2013-01-31 13:47:26 +0100
commit7e08a9116d9d692e0e298197de55b6b5505373bf (patch)
tree14c8e690382a882a699ba48dfb3dc0672d5d6bce /print-tree.c
parent5b8826ddfd1c4fcdcfe9f78fd80cfeeac9de1b21 (diff)
Btrfs-progs: add support for device replace procedure
This is the user mode part of the device replace patch series. The command group "btrfs replace" is added with three commands: - btrfs replace start srcdev|srcdevid targetdev [-Bfr] mount_point - btrfs replace status mount_point [-1] - btrfs replace cancel mount_point Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/print-tree.c b/print-tree.c
index 828806db..e70e7f74 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -440,6 +440,9 @@ static void print_key_type(u64 objectid, u8 type)
case BTRFS_BALANCE_ITEM_KEY:
printf("BALANCE_ITEM");
break;
+ case BTRFS_DEV_REPLACE_KEY:
+ printf("DEV_REPLACE_ITEM");
+ break;
case BTRFS_STRING_ITEM_KEY:
printf("STRING_ITEM");
break;