summaryrefslogtreecommitdiff
path: root/fs/btrfs/dev-replace.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-02-12 23:33:29 +0800
committerDavid Sterba <dsterba@suse.com>2018-03-26 15:09:29 +0200
commit97282031a64ca72aabf6482f9c32d1bcc931cde2 (patch)
tree6c07d9b3341255ab04824b7f273f55fc51397a5e /fs/btrfs/dev-replace.h
parentaf89e0dc2ce3177d07c4af4028b8a7b88733d07e (diff)
btrfs: open code btrfs_dev_replace_cancel()
btrfs_dev_replace_cancel() calls __btrfs_dev_replace_cancel() for the actual cancel so just open code it. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.h')
-rw-r--r--fs/btrfs/dev-replace.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/dev-replace.h b/fs/btrfs/dev-replace.h
index f94a76844ae7..d8b314ff12c1 100644
--- a/fs/btrfs/dev-replace.h
+++ b/fs/btrfs/dev-replace.h
@@ -32,8 +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);
-int btrfs_dev_replace_cancel(struct btrfs_fs_info *fs_info,
- struct btrfs_ioctl_dev_replace_args *args);
+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);