]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
btrfs: extent_io: Kill the forward declaration of flush_write_bio
authorQu Wenruo <wqu@suse.com>
Fri, 25 Jan 2019 05:09:15 +0000 (13:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 11:35:54 +0000 (12:35 +0100)
commit7f2b9e8d42bd957332dc2af0ba6a77684fe32b1c
tree9836e3583be84f887b166d6a29bb4da248dde3bf
parent8a78b4c0d6292d32d76b4268b5a33ae089a5d791
btrfs: extent_io: Kill the forward declaration of flush_write_bio

commit bb58eb9e167d087cc518f7a71c3c00f1671958da upstream.

There is no need to forward declare flush_write_bio(), as it only
depends on submit_one_bio().  Both of them are pretty small, just move
them to kill the forward declaration.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
[bwh: Cherry-picked for 4.19 to ease backporting later fixes]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/extent_io.c