btrfs: drop unused space_info parameter from create_space_info
commit4ca616832783ce6563b59b2d4764fdbb272e0362
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Mon, 28 May 2018 06:30:27 +0000 (28 14:30 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 May 2018 14:46:43 +0000 (30 16:46 +0200)
treedaf34b2934bf922b4c9e7fef3b54eff86de4a6cb
parentff76a864cc94d055b4239fb2cd13e8e633dc7aac
btrfs: drop unused space_info parameter from create_space_info

Since commit dc2d3005d27d ("btrfs: remove dead create_space_info
calls"), there is only one caller btrfs_init_space_info. However, it
doesn't need create_space_info to return space_info at all.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c