]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: enhance btrfs_find_device_by_user_input() to check device path
authorAnand Jain <anand.jain@oracle.com>
Sat, 13 Feb 2016 02:01:37 +0000 (10:01 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Feb 2016 16:57:35 +0000 (17:57 +0100)
commitda335ed6f002f12b4934d7466dddefd6247061e1
tree52c5d27e7efd17d8bb15b61037b9841599f0a65e
parentce0cc6e512d0368a0a7028ad63e5f89d7da8480e
btrfs: enhance btrfs_find_device_by_user_input() to check device path

The operation of device replace and device delete follows same steps upto
some depth with in btrfs kernel, however they don't share codes. This
enhancement will help replace and delete to share codes.

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