btrfs: rename __btrfs_dev_replace_cancel()
authorAnand Jain <anand.jain@oracle.com>
Mon, 12 Feb 2018 15:33:30 +0000 (23:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:30 +0000 (15:09 +0200)
Remove __ which is for the special functions.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c
fs/btrfs/dev-replace.h
fs/btrfs/ioctl.c

index 1ce9528663a6512d8583c047695c97052591d8b7..4d1dbc16fcd47145f7a34e8111764f5531f7cf49 100644 (file)
@@ -693,7 +693,7 @@ void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info,
        btrfs_dev_replace_unlock(dev_replace, 0);
 }
 
-u64 __btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info)
+u64 btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info)
 {
        struct btrfs_dev_replace *dev_replace = &fs_info->dev_replace;
        struct btrfs_device *tgt_device = NULL;
index d8b314ff12c11f293519fd3ea1fbdf0b41ccd9fd..6c3543d93e969853ec78897fde2f4fb7b4e3ae4a 100644 (file)
@@ -32,7 +32,7 @@ int btrfs_dev_replace_start(struct btrfs_fs_info *fs_info,
                int read_src);
 void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info,
                              struct btrfs_ioctl_dev_replace_args *args);
-u64 __btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info);
+u64 btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info);
 void btrfs_dev_replace_suspend_for_unmount(struct btrfs_fs_info *fs_info);
 int btrfs_resume_dev_replace_async(struct btrfs_fs_info *fs_info);
 int btrfs_dev_replace_is_ongoing(struct btrfs_dev_replace *dev_replace);
index 9082b06f8889360759dff2761cc72c73d9d7c225..c5a559105949c47b4f921e7b187e64433cfffcad 100644 (file)
@@ -4429,7 +4429,7 @@ static long btrfs_ioctl_dev_replace(struct btrfs_fs_info *fs_info,
                ret = 0;
                break;
        case BTRFS_IOCTL_DEV_REPLACE_CMD_CANCEL:
-               p->result = __btrfs_dev_replace_cancel(fs_info);
+               p->result = btrfs_dev_replace_cancel(fs_info);
                ret = 0;
                break;
        default: