btrfs: open code btrfs_dev_replace_cancel()
authorAnand Jain <anand.jain@oracle.com>
Mon, 12 Feb 2018 15:33:29 +0000 (23:33 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:29 +0000 (15:09 +0200)
commit97282031a64ca72aabf6482f9c32d1bcc931cde2
tree6c07d9b3341255ab04824b7f273f55fc51397a5e
parentaf89e0dc2ce3177d07c4af4028b8a7b88733d07e
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>
fs/btrfs/dev-replace.c
fs/btrfs/dev-replace.h
fs/btrfs/ioctl.c