diff options
author | David Sterba <dsterba@suse.com> | 2022-10-27 02:30:45 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-12-05 18:00:51 +0100 |
commit | ad65ecf30b037549a17d2e402fac8d39242073d1 (patch) | |
tree | 6b0c06a9a1a16f436ad7697b42097c43a9e14c8c /fs/btrfs/inode.c | |
parent | ab2072b2921eced166dbdec1d65b0284b6eba2b9 (diff) | |
download | linux-stable-ad65ecf30b037549a17d2e402fac8d39242073d1.tar.gz linux-stable-ad65ecf30b037549a17d2e402fac8d39242073d1.tar.bz2 linux-stable-ad65ecf30b037549a17d2e402fac8d39242073d1.zip |
btrfs: simplify btree_submit_bio_start and btrfs_submit_bio_start parameters
After previous patches the unused parameters can be removed from
btree_submit_bio_start and btrfs_submit_bio_start as they don't need to
conform to the extent_submit_bio_start_t typedef.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 06931c20ebfa..cd9325f51ffd 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -2550,8 +2550,7 @@ void btrfs_clear_delalloc_extent(struct inode *vfs_inode, * At IO completion time the cums attached on the ordered extent record * are inserted into the btree */ -blk_status_t btrfs_submit_bio_start(struct inode *inode, struct bio *bio, - u64 dio_file_offset) +blk_status_t btrfs_submit_bio_start(struct inode *inode, struct bio *bio) { return btrfs_csum_one_bio(BTRFS_I(inode), bio, (u64)-1, false); } |