Commit d7e8555b authored by David Sterba's avatar David Sterba

btrfs: remove unused member async_submit_bio::fs_info

Introduced by c6100a4b ("Btrfs: replace tree->mapping with
tree->private_data") to be used in run_one_async_done where it got
unused after 736cd52e ("Btrfs: remove nr_async_submits and
async_submit_draining").
Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 315409b0
...@@ -106,7 +106,6 @@ void __cold btrfs_end_io_wq_exit(void) ...@@ -106,7 +106,6 @@ void __cold btrfs_end_io_wq_exit(void)
*/ */
struct async_submit_bio { struct async_submit_bio {
void *private_data; void *private_data;
struct btrfs_fs_info *fs_info;
struct bio *bio; struct bio *bio;
extent_submit_bio_start_t *submit_bio_start; extent_submit_bio_start_t *submit_bio_start;
extent_submit_bio_done_t *submit_bio_done; extent_submit_bio_done_t *submit_bio_done;
...@@ -801,7 +800,6 @@ blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, ...@@ -801,7 +800,6 @@ blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio,
return BLK_STS_RESOURCE; return BLK_STS_RESOURCE;
async->private_data = private_data; async->private_data = private_data;
async->fs_info = fs_info;
async->bio = bio; async->bio = bio;
async->mirror_num = mirror_num; async->mirror_num = mirror_num;
async->submit_bio_start = submit_bio_start; async->submit_bio_start = submit_bio_start;
......
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