From 55e4b14b3e6b0e9bbfaa80667d2497198feae5c1 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 15 Jun 2015 14:40:42 +0200 Subject: [PATCH] btrfs-progs: unify naming of key types in print-tree Drop the BTRFS_ prefix and _KEY suffix where applicable. Signed-off-by: David Sterba --- print-tree.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/print-tree.c b/print-tree.c index b471a968..df63334f 100644 --- a/print-tree.c +++ b/print-tree.c @@ -621,31 +621,31 @@ static void print_key_type(u64 objectid, u8 type) printf("BALANCE_ITEM"); break; case BTRFS_DEV_REPLACE_KEY: - printf("DEV_REPLACE_ITEM"); + printf("DEV_REPLACE"); break; case BTRFS_STRING_ITEM_KEY: printf("STRING_ITEM"); break; case BTRFS_QGROUP_STATUS_KEY: - printf("BTRFS_STATUS_KEY"); + printf("QGROUP_STATUS"); break; case BTRFS_QGROUP_RELATION_KEY: - printf("BTRFS_QGROUP_RELATION_KEY"); + printf("QGROUP_RELATION"); break; case BTRFS_QGROUP_INFO_KEY: - printf("BTRFS_QGROUP_INFO_KEY"); + printf("QGROUP_INFO"); break; case BTRFS_QGROUP_LIMIT_KEY: - printf("BTRFS_QGROUP_LIMIT_KEY"); + printf("QGROUP_LIMIT"); break; case BTRFS_DEV_STATS_KEY: - printf("DEV_STATS_ITEM"); + printf("DEV_STATS"); break; case BTRFS_UUID_KEY_SUBVOL: - printf("BTRFS_UUID_KEY_SUBVOL"); + printf("UUID_KEY_SUBVOL"); break; case BTRFS_UUID_KEY_RECEIVED_SUBVOL: - printf("BTRFS_UUID_KEY_RECEIVED_SUBVOL"); + printf("UUID_KEY_RECEIVED_SUBVOL"); break; default: printf("UNKNOWN.%d", type);