]> 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)
commitc9c6df8bdc1cb5b2a9744475fe960d9fb713f584
tree36f18c7debed05ce37132c9c9105a66ef27d250b
parent924f48bf3b570c635e29392ccbd8fccc649f4723
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