]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:37 +0000 (14:13 +0100)
commitcf6aac1e6fd60233e0497694a27e6145b33c7dde
tree8da8ce87eab12657c24f7e16f9a949977e293e0b
parenta19d98e35e9474dc77c5b183402c1ead84592bd6
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