提交 e0f43c94 编写于 作者: A Alex Elder

libceph: make ceph_msgr_wq private

The messenger workqueue has no need to be public.  So give it static
scope.
Signed-off-by: NAlex Elder <elder@dreamhost.com>
Signed-off-by: NSage Weil <sage@newdream.net>
上级 859eb799
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
struct ceph_msg; struct ceph_msg;
struct ceph_connection; struct ceph_connection;
extern struct workqueue_struct *ceph_msgr_wq; /* receive work queue */
/* /*
* Ceph defines these callbacks for handling connection events. * Ceph defines these callbacks for handling connection events.
*/ */
......
...@@ -97,7 +97,7 @@ static void encode_my_addr(struct ceph_messenger *msgr) ...@@ -97,7 +97,7 @@ static void encode_my_addr(struct ceph_messenger *msgr)
/* /*
* work queue for all reading and writing to/from the socket. * 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) int ceph_msgr_init(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册