diff options
author | David Sterba <dsterba@suse.com> | 2018-07-18 11:31:10 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 07:12:55 -0400 |
commit | d7cbfafc4bc37ed21351cdedbc6f9d979545dbf3 (patch) | |
tree | b63da9e464a602eee222a129575ad1c719a99680 | |
parent | d7e8555b1dd493c809e56e359974eecabe7d3fde (diff) |
btrfs: remove unused member async_submit_bio::bio_flags
After splitting the start and end hooks in a758781d4b76c3 ("btrfs:
separate types for submit_bio_start and submit_bio_done"), some of
the function arguments were dropped but not removed from the structure.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 8033289d2189..d82df15af89c 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -110,7 +110,6 @@ struct async_submit_bio { | |||
110 | extent_submit_bio_start_t *submit_bio_start; | 110 | extent_submit_bio_start_t *submit_bio_start; |
111 | extent_submit_bio_done_t *submit_bio_done; | 111 | extent_submit_bio_done_t *submit_bio_done; |
112 | int mirror_num; | 112 | int mirror_num; |
113 | unsigned long bio_flags; | ||
114 | /* | 113 | /* |
115 | * bio_offset is optional, can be used if the pages in the bio | 114 | * bio_offset is optional, can be used if the pages in the bio |
116 | * can't tell us where in the file the bio should go | 115 | * can't tell us where in the file the bio should go |
@@ -808,7 +807,6 @@ blk_status_t btrfs_wq_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, | |||
808 | btrfs_init_work(&async->work, btrfs_worker_helper, run_one_async_start, | 807 | btrfs_init_work(&async->work, btrfs_worker_helper, run_one_async_start, |
809 | run_one_async_done, run_one_async_free); | 808 | run_one_async_done, run_one_async_free); |
810 | 809 | ||
811 | async->bio_flags = bio_flags; | ||
812 | async->bio_offset = bio_offset; | 810 | async->bio_offset = bio_offset; |
813 | 811 | ||
814 | async->status = 0; | 812 | async->status = 0; |