libceph: init osd->o_node in create_osd()
authorAlex Elder <elder@inktank.com>
Thu, 6 Dec 2012 13:22:04 +0000 (07:22 -0600)
committerAlex Elder <elder@inktank.com>
Thu, 20 Dec 2012 16:56:21 +0000 (10:56 -0600)
The red-black node node in the ceph osd structure is not initialized
in create_osd().  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.  Add a call to RB_CLEAR_NODE()
initialize it.

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

Simple merge