aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2015-08-14 06:32:46 -0400
committerDavid Sterba <dsterba@suse.com>2015-09-29 10:29:57 -0400
commit96f3136e51580ed68a2952341c8b9e2d7f853472 (patch)
tree10a06286b19f3e8ac77d374c6ba042df127a1384 /fs/btrfs
parent9ffecb10283508260936b96022d4ee43a7798b4c (diff)
Btrfs: rename btrfs_sysfs_add_one to btrfs_sysfs_add_mounted
Signed-off-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/ctree.h2
-rw-r--r--fs/btrfs/disk-io.c2
-rw-r--r--fs/btrfs/sysfs.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 938efe33be80..afce3069697a 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -4004,7 +4004,7 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
4004/* sysfs.c */ 4004/* sysfs.c */
4005int btrfs_init_sysfs(void); 4005int btrfs_init_sysfs(void);
4006void btrfs_exit_sysfs(void); 4006void btrfs_exit_sysfs(void);
4007int btrfs_sysfs_add_one(struct btrfs_fs_info *fs_info); 4007int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info);
4008void btrfs_sysfs_remove_one(struct btrfs_fs_info *fs_info); 4008void btrfs_sysfs_remove_one(struct btrfs_fs_info *fs_info);
4009 4009
4010/* xattr.c */ 4010/* xattr.c */
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 295795aebe0b..4622d38fa56e 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -2933,7 +2933,7 @@ retry_root_backup:
2933 goto fail_fsdev_sysfs; 2933 goto fail_fsdev_sysfs;
2934 } 2934 }
2935 2935
2936 ret = btrfs_sysfs_add_one(fs_info); 2936 ret = btrfs_sysfs_add_mounted(fs_info);
2937 if (ret) { 2937 if (ret) {
2938 pr_err("BTRFS: failed to init sysfs interface: %d\n", ret); 2938 pr_err("BTRFS: failed to init sysfs interface: %d\n", ret);
2939 goto fail_fsdev_sysfs; 2939 goto fail_fsdev_sysfs;
diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 603b0cc2b9bb..cabf840f6b37 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -736,7 +736,7 @@ int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
736 return error; 736 return error;
737} 737}
738 738
739int btrfs_sysfs_add_one(struct btrfs_fs_info *fs_info) 739int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info)
740{ 740{
741 int error; 741 int error;
742 struct btrfs_fs_devices *fs_devs = fs_info->fs_devices; 742 struct btrfs_fs_devices *fs_devs = fs_info->fs_devices;