summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-01 17:55:55 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:06 +0200
commit536ea45cba34618669a2f984fa7dff86480823fb (patch)
tree7b860ba174e66cc90cedd189d4125e0586204679 /fs/btrfs/sysfs.h
parentbtrfs: factor sysfs code out of link_block_group (diff)
downloadlinux-536ea45cba34618669a2f984fa7dff86480823fb.tar.xz
linux-536ea45cba34618669a2f984fa7dff86480823fb.zip
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.h')
-rw-r--r--fs/btrfs/sysfs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/sysfs.h b/fs/btrfs/sysfs.h
index 403240e81dd2..a359f0b7c20b 100644
--- a/fs/btrfs/sysfs.h
+++ b/fs/btrfs/sysfs.h
@@ -80,7 +80,6 @@ attr_to_btrfs_feature_attr(struct attribute *attr)
char *btrfs_printable_features(enum btrfs_feature_set set, u64 flags);
extern const char * const btrfs_feature_set_names[FEAT_MAX];
extern struct kobj_type space_info_ktype;
-extern struct kobj_type btrfs_raid_ktype;
int btrfs_sysfs_add_device_link(struct btrfs_fs_devices *fs_devices,
struct btrfs_device *one_device);
int btrfs_sysfs_rm_device_link(struct btrfs_fs_devices *fs_devices,