btrfs: remove unused parameters from extent_submit_bio_done_t
Remove parameters not used by any of the callbacks. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d0779291b1
commit
6c55343587
|
@ -735,8 +735,7 @@ static void run_one_async_done(struct btrfs_work *work)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
async->submit_bio_done(async->private_data, async->bio, async->mirror_num,
|
async->submit_bio_done(async->private_data, async->bio, async->mirror_num);
|
||||||
async->bio_flags, async->bio_offset);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void run_one_async_free(struct btrfs_work *work)
|
static void run_one_async_free(struct btrfs_work *work)
|
||||||
|
@ -809,8 +808,7 @@ static blk_status_t __btree_submit_bio_start(void *private_data, struct bio *bio
|
||||||
}
|
}
|
||||||
|
|
||||||
static blk_status_t __btree_submit_bio_done(void *private_data, struct bio *bio,
|
static blk_status_t __btree_submit_bio_done(void *private_data, struct bio *bio,
|
||||||
int mirror_num, unsigned long bio_flags,
|
int mirror_num)
|
||||||
u64 bio_offset)
|
|
||||||
{
|
{
|
||||||
struct inode *inode = private_data;
|
struct inode *inode = private_data;
|
||||||
blk_status_t ret;
|
blk_status_t ret;
|
||||||
|
|
|
@ -100,8 +100,7 @@ typedef blk_status_t (extent_submit_bio_start_t)(void *private_data,
|
||||||
struct bio *bio, u64 bio_offset);
|
struct bio *bio, u64 bio_offset);
|
||||||
|
|
||||||
typedef blk_status_t (extent_submit_bio_done_t)(void *private_data,
|
typedef blk_status_t (extent_submit_bio_done_t)(void *private_data,
|
||||||
struct bio *bio, int mirror_num, unsigned long bio_flags,
|
struct bio *bio, int mirror_num);
|
||||||
u64 bio_offset);
|
|
||||||
|
|
||||||
struct extent_io_ops {
|
struct extent_io_ops {
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1961,8 +1961,7 @@ static blk_status_t __btrfs_submit_bio_start(void *private_data, struct bio *bio
|
||||||
* are inserted into the btree
|
* are inserted into the btree
|
||||||
*/
|
*/
|
||||||
static blk_status_t __btrfs_submit_bio_done(void *private_data, struct bio *bio,
|
static blk_status_t __btrfs_submit_bio_done(void *private_data, struct bio *bio,
|
||||||
int mirror_num, unsigned long bio_flags,
|
int mirror_num)
|
||||||
u64 bio_offset)
|
|
||||||
{
|
{
|
||||||
struct inode *inode = private_data;
|
struct inode *inode = private_data;
|
||||||
struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
|
struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
|
||||||
|
|
Loading…
Reference in New Issue