]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove btrfs_wait_and_free_delalloc_work
authorNikolay Borisov <nborisov@suse.com>
Thu, 19 Apr 2018 07:46:39 +0000 (10:46 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:20 +0000 (18:07 +0200)
commit1a7460432ef7016ff0deb318b519766623bcda94
tree36f18c7debed05ce37132c9c9105a66ef27d250b
parent299d9cae8ab3b4dc4d441d67f131cd96c4bd0ef5
btrfs: Remove btrfs_wait_and_free_delalloc_work

This function is called from only 1 place and is effectively a wrapper
over wait_completion/kfree. It doesn't really bring any value having
those two calls in a separate function. Just open code it and remove it.
No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/inode.c