diff options
author | Christoph Hellwig <hch@lst.de> | 2023-01-21 07:50:27 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-15 19:38:53 +0100 |
commit | 285599b6fe15d642df643fd4383ab3a278374e35 (patch) | |
tree | 76f10a795615c82000509c4500e377684eccd957 /fs/btrfs/bio.h | |
parent | 48253076c3a93f795fcd84ffdc97c5e763709dee (diff) | |
download | linux-stable-285599b6fe15d642df643fd4383ab3a278374e35.tar.gz linux-stable-285599b6fe15d642df643fd4383ab3a278374e35.tar.bz2 linux-stable-285599b6fe15d642df643fd4383ab3a278374e35.zip |
btrfs: remove the fs_info argument to btrfs_submit_bio
btrfs_submit_bio can derive it trivially from bbio->inode, so stop
bothering in the callers.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/bio.h')
-rw-r--r-- | fs/btrfs/bio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/bio.h b/fs/btrfs/bio.h index a043c2ced5bd..873ff85817f0 100644 --- a/fs/btrfs/bio.h +++ b/fs/btrfs/bio.h @@ -88,8 +88,7 @@ static inline void btrfs_bio_end_io(struct btrfs_bio *bbio, blk_status_t status) /* Bio only refers to one ordered extent. */ #define REQ_BTRFS_ONE_ORDERED REQ_DRV -void btrfs_submit_bio(struct btrfs_fs_info *fs_info, struct bio *bio, - int mirror_num); +void btrfs_submit_bio(struct bio *bio, int mirror_num); int btrfs_repair_io_failure(struct btrfs_fs_info *fs_info, u64 ino, u64 start, u64 length, u64 logical, struct page *page, unsigned int pg_offset, int mirror_num); |