From: Alex Elder Date: Thu, 6 Dec 2012 13:22:04 +0000 (-0600) Subject: libceph: init osd->o_node in create_osd() X-Git-Tag: v3.8-rc1~21^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f407731d12214e7686819018f3a1e9d7b6f83a02;p=pandora-kernel.git libceph: init osd->o_node in create_osd() 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed