X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=osl.c;h=16b3af5ecee2ed3cfa2abacc2cd1756cc2646e7a;hb=0c4d0aca147b69bffe112c86cb0c6ea499f4d40a;hp=9bdc351dcbfa6f4f8fd47fe65b1a6d8016e9ba21;hpb=7364f975c92ff28a9ca6f2decb7d0ab28e94db48;p=osl.git diff --git a/osl.c b/osl.c index 9bdc351..16b3af5 100644 --- a/osl.c +++ b/osl.c @@ -766,6 +766,10 @@ int get_mapped_object(const struct osl_table *t, unsigned col_num, return 1; } +/* + * It's OK to call this with result = rb_node = NULL. If result is not NULL, + * and rb key was not found, result points to the parent node. + */ static int search_rbtree(const struct osl_object *obj, const struct osl_table *t, unsigned col_num, struct rb_node **result, struct rb_node ***rb_link)