diff options
author | David Sterba <dsterba@suse.com> | 2019-08-01 17:55:55 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 14:59:07 +0200 |
commit | 27992d014554c37aae1cf788fbf6c457b3eceb76 (patch) | |
tree | fe4dd20e8787db974c5b9ac652bd47fc0e6dd21d /fs/btrfs/sysfs.c | |
parent | b882327a774041d5710e37da3286e25278a1947f (diff) | |
download | linux-27992d014554c37aae1cf788fbf6c457b3eceb76.tar.bz2 |
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>
Diffstat (limited to 'fs/btrfs/sysfs.c')
-rw-r--r-- | fs/btrfs/sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c index d982730265b9..bc82ab66ba8f 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -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, |