android_kernel_google_msm/net/ceph
Alex Elder 1d2522a000 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>
(cherry picked from commit a978fa20fb)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 08:51:19 -08:00
..
crush crush: fix memory leak when destroying tree buckets 2012-11-26 11:38:03 -08:00
armor.c libceph: Fix base64-decoding when input ends in newline. 2011-03-15 09:14:02 -07:00
auth.c ceph: Move secret key parsing earlier. 2011-03-29 12:11:16 -07:00
auth_none.c ceph: messenger: reduce args to create_authorizer 2012-11-26 11:38:07 -08:00
auth_none.h
auth_x.c ceph: messenger: reduce args to create_authorizer 2012-11-26 11:38:07 -08:00
auth_x.h
auth_x_protocol.h
buffer.c
ceph_common.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
ceph_fs.c ceph: fix file mode calculation 2011-07-19 11:25:04 -07:00
ceph_hash.c ceph: add dir_layout to inode 2011-01-12 15:15:12 -08:00
ceph_strings.c
crypto.c libceph: fix crypto key null deref, memory leak 2012-11-26 11:38:42 -08:00
crypto.h libceph: fix crypto key null deref, memory leak 2012-11-26 11:38:42 -08:00
debugfs.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
Kconfig ceph: use kernel DNS resolver 2011-10-25 16:10:16 -07:00
Makefile
messenger.c libceph: report connection fault with warning 2013-01-17 08:51:19 -08:00
mon_client.c libceph: delay debugfs initialization until we learn global_id 2012-11-26 11:38:43 -08:00
msgpool.c libceph: initialize msgpool message types 2012-11-26 11:38:38 -08:00
osd_client.c libceph: don't use rb_init_node() in ceph_osdc_alloc_request() 2013-01-17 08:51:19 -08:00
osdmap.c libceph: check for invalid mapping 2012-11-26 11:38:44 -08:00
pagelist.c
pagevec.c libceph: fix handling of short returns from get_user_pages 2011-03-03 13:47:39 -08:00