btrfs: sysfs: unexport space_info_ktype

The last non-sysfs usage of space_info_ktype has been moved to a private
helper in previous patch so the variable can be made static.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba
2019-08-01 17:55:55 +02:00
parent b882327a77
commit 27992d0145
2 changed files with 1 additions and 2 deletions

View File

@@ -395,7 +395,7 @@ static void space_info_release(struct kobject *kobj)
kfree(sinfo);
}
struct kobj_type space_info_ktype = {
static struct kobj_type space_info_ktype = {
.sysfs_ops = &kobj_sysfs_ops,
.release = space_info_release,
.default_groups = space_info_groups,