libceph: init event->node in ceph_osdc_create_event()
authorAlex Elder <elder@inktank.com>
Mon, 17 Dec 2012 18:23:48 +0000 (12:23 -0600)
committerAlex Elder <elder@inktank.com>
Thu, 20 Dec 2012 16:56:28 +0000 (10:56 -0600)
commit3ee5234df68d253c415ba4f2db72ad250d9c21a9
tree1b1fa581b6527d98f03450375c3e555f314344ca
parentf407731d12214e7686819018f3a1e9d7b6f83a02
libceph: init event->node in ceph_osdc_create_event()

The red-black node node in the ceph osd event structure is not
initialized in create_osdc_create_event().  Because this node can
be the subject of a RB_EMPTY_NODE() call later on, we should ensure
the node is initialized properly for that.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/osd_client.c