OSDN Git Service

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)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:37 +0000 (14:13 +0100)
commitbb58eb9e167d087cc518f7a71c3c00f1671958da
tree8da8ce87eab12657c24f7e16f9a949977e293e0b
parent352646c7bfa9fddb80c4ae87dce4a9ebd7dd0bb4
btrfs: extent_io: Kill the forward declaration of flush_write_bio

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