aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-02-15 12:42:30 -0500
committerAlex Elder <elder@inktank.com>2013-02-18 13:20:05 -0500
commit2d2f522699fe8b827087941eb31b9a12cf465f17 (patch)
tree4661d5115a3bcabd5e4e1cfb38bad58fa8152597 /include
parent3c663bbdcdf9296e0fe3362acb9e81f49d7b72c6 (diff)
libceph: kill ceph_osdc_wait_event()
There are no actual users of ceph_osdc_wait_event(). This would have been one-shot events, but we no longer support those so just get rid of this function. Since this leaves nothing else that waits for the completion of an event, we can get rid of the completion in a struct ceph_osd_event. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ceph/osd_client.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 39c55d61e159..388158ff0cbc 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -107,7 +107,6 @@ struct ceph_osd_event {
107 struct rb_node node; 107 struct rb_node node;
108 struct list_head osd_node; 108 struct list_head osd_node;
109 struct kref kref; 109 struct kref kref;
110 struct completion completion;
111}; 110};
112 111
113struct ceph_osd_event_work { 112struct ceph_osd_event_work {
@@ -275,8 +274,6 @@ extern int ceph_osdc_create_event(struct ceph_osd_client *osdc,
275 void (*event_cb)(u64, u64, u8, void *), 274 void (*event_cb)(u64, u64, u8, void *),
276 void *data, struct ceph_osd_event **pevent); 275 void *data, struct ceph_osd_event **pevent);
277extern void ceph_osdc_cancel_event(struct ceph_osd_event *event); 276extern void ceph_osdc_cancel_event(struct ceph_osd_event *event);
278extern int ceph_osdc_wait_event(struct ceph_osd_event *event,
279 unsigned long timeout);
280extern void ceph_osdc_put_event(struct ceph_osd_event *event); 277extern void ceph_osdc_put_event(struct ceph_osd_event *event);
281#endif 278#endif
282 279