diff options
author | Alex Elder <elder@inktank.com> | 2012-12-06 07:22:04 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 08:46:47 -0800 |
commit | e0ecd5e9df067c38cd62ad7244013f51e23f9045 (patch) | |
tree | 62308f78266d5ac0eac2b47a572647f80f941f15 /lib/cpu-notifier-error-inject.c | |
parent | 95d99d5fd234903edb6856d72a6d4eb74b0c05fb (diff) |
libceph: init osd->o_node in create_osd()
(cherry picked from commit f407731d12214e7686819018f3a1e9d7b6f83a02)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions