[PATCH 6.0 142/148] btrfs: handle case when repair happens with dev-replace