@@ -5890,7 +5890,7 @@ static int got_OVResult(struct drbd_connection *connection, struct packet_info *
if (dw) {
dw->w.cb = w_ov_finished;
dw->device = device;
- drbd_queue_work(&peer_device->connection->sender_work, &dw->w);
+ drbd_queue_work(&device->resource->work, &dw->w);
} else {
drbd_err(device, "kmalloc(dw) failed.");
ov_out_of_sync_print(peer_device);
@@ -823,8 +823,7 @@ int __req_mod(struct drbd_request *req, enum drbd_req_event what,
get_ldev(device); /* always succeeds in this call path */
req->w.cb = w_restart_disk_io;
- drbd_queue_work(&connection->sender_work,
- &req->w);
+ drbd_queue_work(&device->resource->work, &req->w);
break;
case RESEND: