]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7babca0cfa80a209c12f0f0e4c2a31426909a9eb
tree17494bb7ab064ae188fe3fe7e3be8fc7338e9321
parent0de790c32d68b99ed463edaa25af65e10aaac229
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