]> git.baikalelectronics.ru Git - kernel.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>
Thu, 28 Apr 2016 08:59:13 +0000 (10:59 +0200)
commitef1d3e0b725a0ae9c8fe84ef04b83e8c9842d7d5
treefb3f64e9892c4cb9832337dc51e596e7516be29e
parent2973db523b766233366c9afa8485a6d6467f3d6b
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