aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-07-03 08:44:41 -0400
committerIlya Dryomov <idryomov@gmail.com>2015-09-08 16:14:28 -0400
commit6893162215d7bf08a4273247ec1fc7dedee5135c (patch)
tree0d3cd814d111e94e976020b2cd50280207e547d1
parentd920ff6fc7c1ec3d7bd80432bff5575c0ebe426c (diff)
libceph: rename con_work() to ceph_con_workfn()
Even though it's static, con_work(), being a work func, shows up in various stacktraces a lot. Prefix it with ceph_. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r--net/ceph/messenger.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c
index 0f9ea60a8971..101ab6285fba 100644
--- a/net/ceph/messenger.c
+++ b/net/ceph/messenger.c
@@ -176,7 +176,7 @@ static struct lock_class_key socket_class;
176 176
177static void queue_con(struct ceph_connection *con); 177static void queue_con(struct ceph_connection *con);
178static void cancel_con(struct ceph_connection *con); 178static void cancel_con(struct ceph_connection *con);
179static void con_work(struct work_struct *); 179static void ceph_con_workfn(struct work_struct *);
180static void con_fault(struct ceph_connection *con); 180static void con_fault(struct ceph_connection *con);
181 181
182/* 182/*
@@ -749,7 +749,7 @@ void ceph_con_init(struct ceph_connection *con, void *private,
749 mutex_init(&con->mutex); 749 mutex_init(&con->mutex);
750 INIT_LIST_HEAD(&con->out_queue); 750 INIT_LIST_HEAD(&con->out_queue);
751 INIT_LIST_HEAD(&con->out_sent); 751 INIT_LIST_HEAD(&con->out_sent);
752 INIT_DELAYED_WORK(&con->work, con_work); 752 INIT_DELAYED_WORK(&con->work, ceph_con_workfn);
753 753
754 con->state = CON_STATE_CLOSED; 754 con->state = CON_STATE_CLOSED;
755} 755}
@@ -2799,7 +2799,7 @@ static void con_fault_finish(struct ceph_connection *con)
2799/* 2799/*
2800 * Do some work on a connection. Drop a connection ref when we're done. 2800 * Do some work on a connection. Drop a connection ref when we're done.
2801 */ 2801 */
2802static void con_work(struct work_struct *work) 2802static void ceph_con_workfn(struct work_struct *work)
2803{ 2803{
2804 struct ceph_connection *con = container_of(work, struct ceph_connection, 2804 struct ceph_connection *con = container_of(work, struct ceph_connection,
2805 work.work); 2805 work.work);