btrfs: check-integrity: use proper helper to access btrfs_header
authorDavid Sterba <dsterba@suse.com>
Tue, 15 Sep 2020 12:26:27 +0000 (14:26 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:53:51 +0000 (15:53 +0100)
commit3b5418fba372c28511ebe9f83b5e26e8ab34b9f9
tree5d397855d1e3b863350bfe59d1d905d2e488dcac
parent09e3a28892a9598260fc44dc9be6b8cc3f56ded1
btrfs: check-integrity: use proper helper to access btrfs_header

There's one raw use of le->cpu conversion but we have a helper to do
that for us, so use it.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c