summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-03-08 13:47:33 +0100
committerDavid Sterba <dsterba@suse.com>2018-03-31 01:26:55 +0200
commit6c553435870bf351c594437b4ba8babbdb0bb37e (patch)
treeedde04e507391e9fe6235af51efed6c37b3c133d /fs/btrfs/disk-io.c
parentd0779291b1e9666aa4aac46ffd8062e3c3b0f2ab (diff)
downloadlinux-6c553435870bf351c594437b4ba8babbdb0bb37e.tar.gz
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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 6fe5a959d56b..7cec8a003838 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -735,8 +735,7 @@ static void run_one_async_done(struct btrfs_work *work)
return;
}
- async->submit_bio_done(async->private_data, async->bio, async->mirror_num,
- async->bio_flags, async->bio_offset);
+ async->submit_bio_done(async->private_data, async->bio, async->mirror_num);
}
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,
- int mirror_num, unsigned long bio_flags,
- u64 bio_offset)
+ int mirror_num)
{
struct inode *inode = private_data;
blk_status_t ret;