Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0f43c94 authored by Alex Elder's avatar Alex Elder
Browse files

libceph: make ceph_msgr_wq private



The messenger workqueue has no need to be public.  So give it static
scope.

Signed-off-by: default avatarAlex Elder <elder@dreamhost.com>
Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 859eb799
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -14,8 +14,6 @@
struct ceph_msg;
struct ceph_connection;

extern struct workqueue_struct *ceph_msgr_wq;       /* receive work queue */

/*
 * Ceph defines these callbacks for handling connection events.
 */
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@ static void encode_my_addr(struct ceph_messenger *msgr)
/*
 * work queue for all reading and writing to/from the socket.
 */
struct workqueue_struct *ceph_msgr_wq;
static struct workqueue_struct *ceph_msgr_wq;

int ceph_msgr_init(void)
{