btrfs: Open code btrfs_write_and_wait_marked_extents
authorNikolay Borisov <nborisov@suse.com>
Wed, 7 Feb 2018 15:55:38 +0000 (17:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:30 +0000 (15:09 +0200)
commitc9b577c01ac91a82fce697c445cfac2bcd8a49f6
tree17494bb7ab064ae188fe3fe7e3be8fc7338e9321
parent0e34693f7bb149273b747194b3988801a9ca8c8e
btrfs: Open code btrfs_write_and_wait_marked_extents

btrfs_write_and_wait_transaction is essentially a wrapper of
btrfs_write_and_wait_marked_extents with the addition of calling
clear_btree_io_tree. Having the code split doesn't really bring any
benefit. Open code the later into the former and add proper
documentation header.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ reformat comment ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c