diff options
author | David Sterba <dsterba@suse.com> | 2019-08-01 18:55:55 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2019-09-09 15:59:06 +0300 |
commit | 536ea45cba34618669a2f984fa7dff86480823fb (patch) | |
tree | 7b860ba174e66cc90cedd189d4125e0586204679 /fs/btrfs/sysfs.c | |
parent | 32a9991f15a0fc2a55de47db7d22a99f462d6804 (diff) | |
download | linux-536ea45cba34618669a2f984fa7dff86480823fb.tar.xz |
btrfs: sysfs: unexport btrfs_raid_ktype
The last non-sysfs usage of btrfs_raid_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 50cb9f9cdbfd..f581ceedf5a9 100644 --- a/fs/btrfs/sysfs.c +++ b/fs/btrfs/sysfs.c @@ -336,7 +336,7 @@ static void release_raid_kobj(struct kobject *kobj) kfree(to_raid_kobj(kobj)); } -struct kobj_type btrfs_raid_ktype = { +static struct kobj_type btrfs_raid_ktype = { .sysfs_ops = &kobj_sysfs_ops, .release = release_raid_kobj, .default_groups = raid_groups, |