]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sink write flags to cow_file_range_async
authorDavid Sterba <dsterba@suse.com>
Tue, 29 Oct 2019 17:28:57 +0000 (18:28 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 16:51:49 +0000 (17:51 +0100)
commit7c580cb86d76e0881ad8bf5afd929a9b145ec95e
treebc9fb5ff6d39817714ae9f3c93a609423d5c78d3
parent1c645c1939e05a1a167369d00b0ea24f94047669
btrfs: sink write flags to cow_file_range_async

In commit "Btrfs: use REQ_CGROUP_PUNT for worker thread submitted bios",
cow_file_range_async gained wbc as a parameter and this makes passing
write flags redundant. Set it inside the function and remove the
parameter.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c