]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ae79cdb68547bf15d1024a27e73991c75a3d49a
tree76f6cab64a0c4dc953c01f1cbe5e604435a105cb
parent1799ac59ca9a1878c0ec1fb3428d0a7e7dc519db
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