Btrfs: do not set failed mirror if we only have one mirror

We can bug if we try to do a repair if there is only one mirror since our
failed mirror will be 0, so don't set the failed mirror stuff unless we're
sure we have other mirrors to try.  Thanks,

Signed-off-by: Josef Bacik <>
1 file changed