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

The patch renames btrfs_dev_replace_find_srcdev() to
btrfs_find_device_by_user_input() and moves it to volumes.c, so that
delete device can use it.

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
fs/btrfs/volumes.h