btrfs: scrub: remove scrub_ctx::csum_list member
authorQu Wenruo <wqu@suse.com>
Mon, 12 Jun 2023 06:14:29 +0000 (14:14 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:40 +0000 (13:59 +0200)
commitc2bbc0bab0bb3cdd38914fe714f9b6c3f7544e88
tree11e4d49d05f305b39dab27fe15b2aa382114d7e2
parent6822b3f708608d74820cd69e76de16d42899a230
btrfs: scrub: remove scrub_ctx::csum_list member

Since the rework of scrub introduced by commit 2af2aaf98205 ("btrfs:
scrub: introduce structure for new BTRFS_STRIPE_LEN based interface")
and later commits, scrub no longer keeps its data checksum inside sctx.

Instead we have scrub_stripe::csums for the checksum of the stripe.
Thus we can remove the unused scrub_ctx::csum_list member.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c