diff options
author | Alex Elder | 2012-12-06 14:22:04 +0100 |
---|---|---|
committer | Alex Elder | 2012-12-20 17:56:21 +0100 |
commit | f407731d12214e7686819018f3a1e9d7b6f83a02 (patch) | |
tree | 5a7379862a9925b97795ddd6aa4b4b466e07d48e /net/ceph/msgpool.c | |
parent | libceph: report connection fault with warning (diff) | |
download | kernel-qcow2-linux-f407731d12214e7686819018f3a1e9d7b6f83a02.tar.gz kernel-qcow2-linux-f407731d12214e7686819018f3a1e9d7b6f83a02.tar.xz kernel-qcow2-linux-f407731d12214e7686819018f3a1e9d7b6f83a02.zip |
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 <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/ceph/msgpool.c')
0 files changed, 0 insertions, 0 deletions