mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 22:52:19 +02:00
btrfs: scrub: remove unused scrub_ctx::sectors_per_bio
The recent scrub rewrite forgot to remove the sectors_per_bio in
6.3 in 13a62fd997 ("btrfs: scrub: remove scrub_bio structure").
This was found by tool https://github.com/jirislaby/clang-struct .
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
cfbf07e278
commit
a5e182d85f
|
|
@ -192,7 +192,6 @@ struct scrub_ctx {
|
|||
int cur_stripe;
|
||||
atomic_t cancel_req;
|
||||
int readonly;
|
||||
int sectors_per_bio;
|
||||
|
||||
/* State of IO submission throttling affecting the associated device */
|
||||
ktime_t throttle_deadline;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user