btrfs: remove the force_bio_submit to submit_extent_page
authorChristoph Hellwig <hch@lst.de>
Mon, 27 Feb 2023 15:16:54 +0000 (08:16 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Apr 2023 16:01:15 +0000 (18:01 +0200)
commiteb8d0c6d042fbe021098c4698a4b88b2e8027d17
tree4f1653d046459ed7078e6188ab6a3eef4f6b6c6e
parent67998cf438e20f5858dbcf488f1662861aab5f44
btrfs: remove the force_bio_submit to submit_extent_page

If force_bio_submit, submit_extent_page simply calls submit_one_bio as
the first thing.  This can just be moved to the only caller that sets
force_bio_submit to true.

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/extent_io.c