diff options
author | David Sterba <[email protected]> | 2023-11-21 02:50:13 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2023-12-15 20:27:01 +0100 |
commit | a5e182d85fa55557496ad751c88a37f3c0590242 (patch) | |
tree | 72ec45887c7988f9865ac9b8335bc61d9ab5f171 | |
parent | cfbf07e2787e4da79c63622f1a6e64cc89f3a829 (diff) |
btrfs: scrub: remove unused scrub_ctx::sectors_per_bio
The recent scrub rewrite forgot to remove the sectors_per_bio in
6.3 in 13a62fd997f0 ("btrfs: scrub: remove scrub_bio structure").
This was found by tool https://github.com/jirislaby/clang-struct .
Reviewed-by: Qu Wenruo <[email protected]>
Reviewed-by: Anand Jain <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: David Sterba <[email protected]>
-rw-r--r-- | fs/btrfs/scrub.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index f62a408671cb..00826644bca8 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -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; |