btrfs: drop num argument from find_live_mirror()
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 14 Mar 2018 08:29:12 +0000 (16:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:41:11 +0000 (01:41 +0200)
commit99f92a7c1eba4e3aa82b361bbe92a7ac088fc176
tree526b0ee27aa5dd41cbc4f6465bc40006e72d7dfe
parent0a1e458a1e49dc6cf13b05f81098e01cf79ceaa1
btrfs: drop num argument from find_live_mirror()

Obtain the stripes info from the map directly and so no need
to pass it as an argument.

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