btrfs: open code the submit_bio_start helpers
authorChristoph Hellwig <hch@lst.de>
Sat, 21 Jan 2023 06:50:15 +0000 (07:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 15 Feb 2023 18:38:52 +0000 (19:38 +0100)
commitdeb6216fa0b6b66304fc81e19b509af1b8203f98
treebfb3d0ef5d9d2dc32af0e8731a03be06aef223d0
parent295fe46ff19b990c19b84b0d39a88d7e73710b19
btrfs: open code the submit_bio_start helpers

The submit helpers are now trivial and can be called directly.  Note
that btree_csum_one_bio has to be moved up in the file a bit to avoid a
forward declaration.

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>
fs/btrfs/btrfs_inode.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/inode.c