summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-12-17 12:23:48 -0600
committerAlex Elder <elder@inktank.com>2012-12-20 10:56:33 -0600
commita978fa20fb657548561dddbfb605fe43654f0825 (patch)
treeb7651c61cb309178e77af9e2d17fc6067cdcf794 /net/xfrm
parent3ee5234df68d253c415ba4f2db72ad250d9c21a9 (diff)
downloadop-kernel-dev-a978fa20fb657548561dddbfb605fe43654f0825.zip
op-kernel-dev-a978fa20fb657548561dddbfb605fe43654f0825.tar.gz
libceph: don't use rb_init_node() in ceph_osdc_alloc_request()
The red-black node in the ceph osd request structure is initialized in ceph_osdc_alloc_request() using rbd_init_node(). We do need to initialize this, because in __unregister_request() we call RB_EMPTY_NODE(), which expects the node it's checking to have been initialized. But rb_init_node() is apparently overkill, and may in fact be on its way out. So use RB_CLEAR_NODE() instead. For a little more background, see this commit: 4c199a93 rbtree: empty nodes have no color" Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net/xfrm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud