btrfs: check integrity: remove local copy of csum_size
authorDavid Sterba <dsterba@suse.com>
Tue, 30 Jun 2020 15:42:23 +0000 (17:42 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:01 +0000 (15:54 +0100)
commit419b791ce76090aeaa598d7879579c236736e4ae
tree98d615eddbb5fc4e964f2920f9de611bb7314d84
parent713cebfb98915201a43ff4d01b0dbafecd50d8ae
btrfs: check integrity: remove local copy of csum_size

The state structure unnecessarily stores copy of the checksum size, that
can be now easily obtained from fs_info.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c