btrfs: remove unused function calc_global_rsv_need_space()
authorYueHaibing <yuehaibing@huawei.com>
Wed, 9 Sep 2020 13:51:42 +0000 (21:51 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:16 +0000 (12:13 +0200)
commita31a5876fae21c602f14686f1e8985f98b153d2b
treec7c7d246f04a0e21b895d0d7150a30237983dcf5
parent0725c0c9351d9854a61bc68f0a59d9f91d75abbd
btrfs: remove unused function calc_global_rsv_need_space()

It is not used since commit 0096420adb03 ("btrfs: do not
account global reserve in can_overcommit").

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c