Btrfs: sysfs: make btrfs_sysfs_add_fsid() non static
authorAnand Jain <anand.jain@oracle.com>
Mon, 9 Mar 2015 22:38:35 +0000 (06:38 +0800)
committerDavid Sterba <dsterba@suse.cz>
Wed, 27 May 2015 10:27:21 +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 0a5d1eebc27eaaa4f2d198bd1c81d586180456bc..53a327ba75dab031082cf9af30fb1fa804649644 100644 (file)
@@ -727,7 +727,7 @@ u64 btrfs_debugfs_test;
  * Can be called by the device discovery thread.
  * And parent can be specified for seed device
  */
-static int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
+int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
                                struct kobject *parent)
 {
        int error;
index 808d12ac4a5a1cc12226bda9cc3e2d35de4dad04..4edf2a7839ad39f235878268a1ee10ac9ffbb0be 100644 (file)
@@ -86,4 +86,6 @@ int btrfs_kobj_add_device(struct btrfs_fs_devices *fs_devices,
                struct btrfs_device *one_device);
 int btrfs_kobj_rm_device(struct btrfs_fs_devices *fs_devices,
                 struct btrfs_device *one_device);
+int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
+                               struct kobject *parent);
 #endif /* _BTRFS_SYSFS_H_ */