btrfs: drop optimal argument from find_live_mirror()
authorAnand Jain <Anand.Jain@oracle.com>
Wed, 14 Mar 2018 08:29:13 +0000 (16:29 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:41:11 +0000 (01:41 +0200)
commit8ba0ae78218ad8fba73ca3be725303be50f936f1
treec335ff64158fed8e4d3ac8329e959b3bbdcb36a3
parent99f92a7c1eba4e3aa82b361bbe92a7ac088fc176
btrfs: drop optimal argument from find_live_mirror()

Drop optimal argument from the function find_live_mirror() as we can
deduce it in the function itself. Also rename optimal to
preferred_mirror.

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