From f93c39970b1da007b3110fd7c9dd361614922457 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 1 Aug 2019 18:50:16 +0200 Subject: btrfs: factor out sysfs code for updating sprout fsid Wrap the fsid renaming code and move it to sysfs.c. Signed-off-by: David Sterba --- fs/btrfs/sysfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/btrfs/sysfs.h') diff --git a/fs/btrfs/sysfs.h b/fs/btrfs/sysfs.h index 031697358b6e..4243fcf607b0 100644 --- a/fs/btrfs/sysfs.h +++ b/fs/btrfs/sysfs.h @@ -87,6 +87,8 @@ int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs, struct kobject *parent); 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_update_sprout_fsid(struct btrfs_fs_devices *fs_devices, + const u8 *fsid); 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); -- cgit v1.2.3-73-gaa49b