btrfs: scrub: remove local copy of csum_size from context
authorDavid Sterba <dsterba@suse.com>
Tue, 30 Jun 2020 15:44:49 +0000 (17:44 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:01 +0000 (15:54 +0100)
commit2ae0c2d80d25dae7658b64b93c271004bc8708e8
tree76f6cab64a0c4dc953c01f1cbe5e604435a105cb
parent419b791ce76090aeaa598d7879579c236736e4ae
btrfs: scrub: remove local copy of csum_size from context

The context 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/scrub.c