From 32a9991f15a0fc2a55de47db7d22a99f462d6804 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 1 Aug 2019 17:49:55 +0200 Subject: 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 --- fs/btrfs/sysfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/btrfs/sysfs.h') 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 -- cgit v1.2.3