summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-01 17:49:55 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:06 +0200
commit32a9991f15a0fc2a55de47db7d22a99f462d6804 (patch)
tree24940b8c90ab99aae5e55a8702f8bcf1b7e9b3ef /fs/btrfs/sysfs.h
parent89439109bc2be5f19c0955d392fb6ea7d0f4ecb3 (diff)
downloadlinux-32a9991f15a0fc2a55de47db7d22a99f462d6804.tar.bz2
btrfs: factor sysfs code out of link_block_group
The part of link_block_group that just creates the sysfs object is independent and can be factored out to a helper. 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, 1 insertions, 0 deletions
diff --git a/fs/btrfs/sysfs.h b/fs/btrfs/sysfs.h
index 4f622989b594..403240e81dd2 100644
--- a/fs/btrfs/sysfs.h
+++ b/fs/btrfs/sysfs.h
@@ -96,5 +96,6 @@ int __init btrfs_init_sysfs(void);
void __cold btrfs_exit_sysfs(void);
int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info);
void btrfs_sysfs_remove_mounted(struct btrfs_fs_info *fs_info);
+void btrfs_sysfs_add_block_group_type(struct btrfs_block_group_cache *cache);
#endif