summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2015-07-03 15:44:41 +0300
committerIlya Dryomov <idryomov@gmail.com>2015-09-08 23:14:28 +0300
commit6893162215d7bf08a4273247ec1fc7dedee5135c (patch)
tree0d3cd814d111e94e976020b2cd50280207e547d1 /net/ceph
parentd920ff6fc7c1ec3d7bd80432bff5575c0ebe426c (diff)
downloadlinux-6893162215d7bf08a4273247ec1fc7dedee5135c.tar.gz
linux-6893162215d7bf08a4273247ec1fc7dedee5135c.tar.bz2
linux-6893162215d7bf08a4273247ec1fc7dedee5135c.zip
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>
Diffstat (limited to 'net/ceph')
-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;
static void queue_con(struct ceph_connection *con);
static void cancel_con(struct ceph_connection *con);
-static void con_work(struct work_struct *);
+static void ceph_con_workfn(struct work_struct *);
static void con_fault(struct ceph_connection *con);
/*
@@ -749,7 +749,7 @@ void ceph_con_init(struct ceph_connection *con, void *private,
mutex_init(&con->mutex);
INIT_LIST_HEAD(&con->out_queue);
INIT_LIST_HEAD(&con->out_sent);
- INIT_DELAYED_WORK(&con->work, con_work);
+ INIT_DELAYED_WORK(&con->work, ceph_con_workfn);
con->state = CON_STATE_CLOSED;
}
@@ -2799,7 +2799,7 @@ static void con_fault_finish(struct ceph_connection *con)
/*
* Do some work on a connection. Drop a connection ref when we're done.
*/
-static void con_work(struct work_struct *work)
+static void ceph_con_workfn(struct work_struct *work)
{
struct ceph_connection *con = container_of(work, struct ceph_connection,
work.work);