btrfs: factor out sysfs code for sending device uevent
The device uevent belongs to the sysfs API. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
@@ -89,6 +89,7 @@ int btrfs_sysfs_add_device(struct btrfs_fs_devices *fs_devs);
|
||||
void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs);
|
||||
void btrfs_sysfs_feature_update(struct btrfs_fs_info *fs_info,
|
||||
u64 bit, enum btrfs_feature_set set);
|
||||
void btrfs_kobject_uevent(struct block_device *bdev, enum kobject_action action);
|
||||
|
||||
int __init btrfs_init_sysfs(void);
|
||||
void __cold btrfs_exit_sysfs(void);
|
||||
|
Reference in New Issue
Block a user