]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
Btrfs: sysfs: btrfs_sysfs_remove_fsid() make it non static
authorAnand Jain <anand.jain@oracle.com>
Mon, 9 Mar 2015 22:38:37 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:22 +0000 (12:27 +0200)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/sysfs.c
fs/btrfs/sysfs.h

index 53a327ba75dab031082cf9af30fb1fa804649644..06eae456612fef239529c5972da805b96d97671b 100644 (file)
@@ -529,7 +529,7 @@ static void __btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs)
 }
 
 /* when fs_devs is NULL it will remove all fsid kobject */
-static void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs)
+void btrfs_sysfs_remove_fsid(struct btrfs_fs_devices *fs_devs)
 {
        struct list_head *fs_uuids = btrfs_get_fs_uuids();
 
index 915307ff1a76412a60613b2a70051af07ce3bb78..6392527bcc15d5e56b66d39a3faac72fba730e2f 100644 (file)
@@ -89,4 +89,5 @@ int btrfs_kobj_rm_device(struct btrfs_fs_devices *fs_devices,
 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);
 #endif /* _BTRFS_SYSFS_H_ */