btrfs: export and rename free_device
authorDavid Sterba <dsterba@suse.com>
Tue, 20 Mar 2018 14:47:33 +0000 (15:47 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:23 +0000 (18:07 +0200)
commita425f9d4755a14fd8b9d2648a23ebe1dea11bd57
treedb79c904ade0dea552649ecb57d5ac7cbe288018
parent6fc4749d25738e1a5e5b02d04a0a60bbae516652
btrfs: export and rename free_device

The function will be used outside of volumes.c, the allocation
btrfs_alloc_device is also exported.

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