]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: make use of btrfs_find_device_by_user_input()
authorAnand Jain <anand.jain@oracle.com>
Sat, 13 Feb 2016 02:01:36 +0000 (10:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 16:57:35 +0000 (17:57 +0100)
commitce0cc6e512d0368a0a7028ad63e5f89d7da8480e
treefcc7c82e3a5cd1884cb24d37fc60b5d73ab476c2
parented9831b09fa6538cf03ec6a30b65f7d96eb5dc75
btrfs: make use of btrfs_find_device_by_user_input()

btrfs_rm_device() has a section of the code which can be replaced
btrfs_find_device_by_user_input()

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