summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-04-10 19:46:04 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:47 +0200
commit50489a5734ec77e0a0613143512de09e2229f852 (patch)
tree6ef0dd54a48f83d72ed8ccc9dbe6e7f9e6b01624 /fs/btrfs/inode.c
parente68f2ee72181697d574e3049426b9d4fe5b5ec4d (diff)
downloadlwn-50489a5734ec77e0a0613143512de09e2229f852.tar.gz
lwn-50489a5734ec77e0a0613143512de09e2229f852.zip
btrfs: Remove bio_offset argument from submit_bio_hook
None of the implementers of the submit_bio_hook use the bio_offset parameter, simply remove it. No functional changes. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 1e7e8421e524..837fd573991a 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1954,8 +1954,9 @@ static blk_status_t btrfs_submit_bio_start(void *private_data, struct bio *bio,
* c-3) otherwise: async submit
*/
static blk_status_t btrfs_submit_bio_hook(struct inode *inode, struct bio *bio,
- int mirror_num, unsigned long bio_flags,
- u64 bio_offset)
+ int mirror_num,
+ unsigned long bio_flags)
+
{
struct btrfs_fs_info *fs_info = btrfs_sb(inode->i_sb);
struct btrfs_root *root = BTRFS_I(inode)->root;