btrfs: drop num argument from find_live_mirror()
authorAnand Jain <[email protected]>
Wed, 14 Mar 2018 08:29:12 +0000 (16:29 +0800)
committerDavid Sterba <[email protected]>
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 <[email protected]>
Reviewed-by: Nikolay Borisov <[email protected]>
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/volumes.c