libceph: init event->node in ceph_osdc_create_event()
commitc9e5752d3f060e665d1643427d7c0dddd2d934f3
authorAlex Elder <elder@inktank.com>
Mon, 17 Dec 2012 18:23:48 +0000 (17 12:23 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:47 +0000 (17 08:46 -0800)
tree6f6b043a8a66f12ba2889d7837e7e604303215fb
parente0ecd5e9df067c38cd62ad7244013f51e23f9045
libceph: init event->node in ceph_osdc_create_event()

(cherry picked from commit 3ee5234df68d253c415ba4f2db72ad250d9c21a9)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/osd_client.c