summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2015-03-10 06:38:35 +0800
committerDavid Sterba <dsterba@suse.cz>2015-05-27 12:27:21 +0200
commit0c10e2d482ba7eafb9806f3ee071c8af5afcde55 (patch)
treea90f1e48bbd6723c6be2ab95631e857133e8b542 /fs/btrfs
parent6c14a1641bfaa213bb3c5bcb7f4d8cde234ada70 (diff)
downloadop-kernel-dev-0c10e2d482ba7eafb9806f3ee071c8af5afcde55.zip
op-kernel-dev-0c10e2d482ba7eafb9806f3ee071c8af5afcde55.tar.gz
Btrfs: sysfs: make btrfs_sysfs_add_fsid() non static
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/sysfs.c2
-rw-r--r--fs/btrfs/sysfs.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 0a5d1ee..53a327b 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -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;
diff --git a/fs/btrfs/sysfs.h b/fs/btrfs/sysfs.h
index 808d12a..4edf2a7 100644
--- a/fs/btrfs/sysfs.h
+++ b/fs/btrfs/sysfs.h
@@ -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_ */
OpenPOWER on IntegriCloud