diff options
author | David Sterba <dsterba@suse.com> | 2018-03-08 13:47:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:55 +0200 |
commit | d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab (patch) | |
tree | 86ad85c1837e9a511322ceb4e9a6a8c6de4b10a6 /fs/btrfs/inode.c | |
parent | a758781d4b76c38374f155e2f2cf902e13b9e50e (diff) | |
download | lwn-d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab.tar.gz lwn-d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab.zip |
btrfs: remove unused parameters from extent_submit_bio_start_t
Remove parameters not used by any of the callbacks.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index fc5b7d82b842..08ae94415ed4 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -1942,7 +1942,6 @@ int btrfs_merge_bio_hook(struct page *page, unsigned long offset, * are inserted into the btree */ static blk_status_t __btrfs_submit_bio_start(void *private_data, struct bio *bio, - int mirror_num, unsigned long bio_flags, u64 bio_offset) { struct inode *inode = private_data; @@ -8222,8 +8221,7 @@ static void btrfs_endio_direct_write(struct bio *bio) } static blk_status_t __btrfs_submit_bio_start_direct_io(void *private_data, - struct bio *bio, int mirror_num, - unsigned long bio_flags, u64 offset) + struct bio *bio, u64 offset) { struct inode *inode = private_data; blk_status_t ret; |