diff options
| author | Christoph Hellwig <[email protected]> | 2023-01-21 06:50:27 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-02-15 18:38:53 +0000 |
| commit | 285599b6fe15d642df643fd4383ab3a278374e35 (patch) | |
| tree | 76f10a795615c82000509c4500e377684eccd957 /fs/btrfs/disk-io.c | |
| parent | btrfs: open code submit_encoded_read_bio (diff) | |
| download | kernel-285599b6fe15d642df643fd4383ab3a278374e35.tar.gz kernel-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 <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
| -rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 2ae329b5ce98..a84b662fdd22 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -702,7 +702,7 @@ err: void btrfs_submit_metadata_bio(struct btrfs_inode *inode, struct bio *bio, int mirror_num) { bio->bi_opf |= REQ_META; - btrfs_submit_bio(inode->root->fs_info, bio, mirror_num); + btrfs_submit_bio(bio, mirror_num); } #ifdef CONFIG_MIGRATION |
