summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.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/inode.c
parentbtrfs: remove unused parameters from extent_submit_bio_start_t (diff)
downloadlinux-6c553435870bf351c594437b4ba8babbdb0bb37e.tar.xz
linux-6c553435870bf351c594437b4ba8babbdb0bb37e.zip
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 '')
-rw-r--r--fs/btrfs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 08ae94415ed4..a03712d496d6 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1961,8 +1961,7 @@ static blk_status_t __btrfs_submit_bio_start(void *private_data, struct bio *bio
* are inserted into the btree
*/
static blk_status_t __btrfs_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;
struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);