diff options
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index b0b2eb172491..025b336dd571 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -58,6 +58,7 @@ #include "drbd_vli.h" static DEFINE_MUTEX(drbd_main_mutex); +int drbd_receiver(struct drbd_thread *); int drbd_worker(struct drbd_thread *); int drbd_init(void); @@ -2614,7 +2615,7 @@ struct drbd_connection *conn_create(const char *name, struct res_opts *res_opts) mutex_init(&connection->data.mutex); mutex_init(&connection->meta.mutex); - drbd_thread_init(connection, &connection->receiver, drbdd_init, "receiver"); + drbd_thread_init(connection, &connection->receiver, drbd_receiver, "receiver"); drbd_thread_init(connection, &connection->worker, drbd_worker, "worker"); drbd_thread_init(connection, &connection->asender, drbd_asender, "asender"); |