btrfs: tree-checker: Fix misleading group system information
commitf2589f9a3e53e203fdb5c393d3892d8b358e376c
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Mon, 5 Nov 2018 10:49:09 +0000 (5 18:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2018 08:19:20 +0000 (21 09:19 +0100)
treea55fa7d1343765df201a043c1887b456bc522b6d
parentec6d90a4b7f3453ea8be6195fe17963fef6ddf36
btrfs: tree-checker: Fix misleading group system information

commit 761333f2f50ccc887aa9957ae829300262c0d15b upstream.

block_group_err shows the group system as a decimal value with a '0x'
prefix, which is somewhat misleading.

Fix it to print hexadecimal, as was intended.

Fixes: fce466eab7ac6 ("btrfs: tree-checker: Verify block_group_item")
CC: stable@vger.kernel.org # 4.19+
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/tree-checker.c