Commit a5e182d8 authored by David Sterba's avatar David Sterba

btrfs: scrub: remove unused scrub_ctx::sectors_per_bio

The recent scrub rewrite forgot to remove the sectors_per_bio in
6.3 in 13a62fd9 ("btrfs: scrub: remove scrub_bio structure").
This was found by tool https://github.com/jirislaby/clang-struct .
Reviewed-by: default avatarQu Wenruo <wqu@suse.com>
Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent cfbf07e2
...@@ -192,7 +192,6 @@ struct scrub_ctx { ...@@ -192,7 +192,6 @@ struct scrub_ctx {
int cur_stripe; int cur_stripe;
atomic_t cancel_req; atomic_t cancel_req;
int readonly; int readonly;
int sectors_per_bio;
/* State of IO submission throttling affecting the associated device */ /* State of IO submission throttling affecting the associated device */
ktime_t throttle_deadline; ktime_t throttle_deadline;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment