summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-07-22 11:04:36 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2014-02-17 16:47:58 +0100
commit8fe605513ab4e96f9e078670da48c5fba3625955 (patch)
treea0d8028b28ac9f04e42c57cb0e32ab9e4fa371c4 /drivers/block/drbd/drbd_main.c
parent625a6ba2bd9d2720e64048188c6771b9da867884 (diff)
downloadlinux-8fe605513ab4e96f9e078670da48c5fba3625955.tar.gz
linux-8fe605513ab4e96f9e078670da48c5fba3625955.tar.bz2
linux-8fe605513ab4e96f9e078670da48c5fba3625955.zip
drbd: Rename drbdd_init() -> drbd_receiver()
Signed-off-by: Andreas Gruenbacher <agruen@linbit.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r--drivers/block/drbd/drbd_main.c3
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");