]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: format checksums according to type for printing
authorJohannes Thumshirn <jthumshirn@suse.de>
Mon, 3 Jun 2019 14:58:52 +0000 (16:58 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:35:01 +0000 (13:35 +0200)
commite3447bc2c9aab2a502f4a51349d5471c1a449fb2
treed1c075ac13ba330310270e2b389563ab05fda9f1
parent5f12f8e48988da7fe2ce1088b42d81ae3b6cecdd
btrfs: format checksums according to type for printing

Add a small helper for btrfs_print_data_csum_error() which formats the
checksum according to it's type for pretty printing.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: David Sterba <dsterba@suse.com>
[ shorten macro name ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h