Btrfs: rename btrfs_sysfs_add_one to btrfs_sysfs_add_mounted
authorAnand Jain <anand.jain@oracle.com>
Fri, 14 Aug 2015 10:32:46 +0000 (18:32 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 29 Sep 2015 14:29:57 +0000 (16:29 +0200)
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/sysfs.c

index 938efe33be809240bc19bdf81d854c623191a3d8..afce3069697a8fd3bc528f7ee425cf0db79d0385 100644 (file)
@@ -4004,7 +4004,7 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
 /* sysfs.c */
 int btrfs_init_sysfs(void);
 void btrfs_exit_sysfs(void);
-int btrfs_sysfs_add_one(struct btrfs_fs_info *fs_info);
+int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info);
 void btrfs_sysfs_remove_one(struct btrfs_fs_info *fs_info);
 
 /* xattr.c */
index 295795aebe0b42330cc1147e02340eb2c59f1d7b..4622d38fa56e7dbadcbc77cecd6ddf2f3b688a8f 100644 (file)
@@ -2933,7 +2933,7 @@ retry_root_backup:
                goto fail_fsdev_sysfs;
        }
 
-       ret = btrfs_sysfs_add_one(fs_info);
+       ret = btrfs_sysfs_add_mounted(fs_info);
        if (ret) {
                pr_err("BTRFS: failed to init sysfs interface: %d\n", ret);
                goto fail_fsdev_sysfs;
index 603b0cc2b9bbf627f0b07fec3dad216164e6ddf3..cabf840f6b37e17cae556c569eccfdc1f0923065 100644 (file)
@@ -736,7 +736,7 @@ int btrfs_sysfs_add_fsid(struct btrfs_fs_devices *fs_devs,
        return error;
 }
 
-int btrfs_sysfs_add_one(struct btrfs_fs_info *fs_info)
+int btrfs_sysfs_add_mounted(struct btrfs_fs_info *fs_info)
 {
        int error;
        struct btrfs_fs_devices *fs_devs = fs_info->fs_devices;