btrfs: let btrfs_return_cluster_to_free_space() return void
authorAnand Jain <anand.jain@oracle.com>
Wed, 3 Jun 2020 10:10:18 +0000 (18:10 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:21 +0000 (12:55 +0200)
commit69b0e093c7859681e8012727d75f639154a7cfb3
tree2973ed4b95099d44583fbb0ef9dc30e3f37ffcc8
parentf22f457a1a58b95c22a870f5e45b3fd7b23ebe7b
btrfs: let btrfs_return_cluster_to_free_space() return void

__btrfs_return_cluster_to_free_space() returns only 0. And all its
parent functions don't need the return value either so make this a void
function.

Further, as none of the callers of btrfs_return_cluster_to_free_space()
is actually using the return from this function, make this function also
return void.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/free-space-cache.c
fs/btrfs/free-space-cache.h