]> 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)
commitbf7e4ac0b0d0122856dbbc94aa63ec400c426221
treed1c075ac13ba330310270e2b389563ab05fda9f1
parent263bba5b0c78bd897e3278da1135d7281e5c3175
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