]> Git Repo - J-linux.git/commitdiff
doc: fix typo in comment explaining rb_tree usage
authorNikanth Karthikesan <[email protected]>
Thu, 25 Feb 2010 09:14:56 +0000 (14:44 +0530)
committerJiri Kosina <[email protected]>
Thu, 25 Feb 2010 10:45:20 +0000 (11:45 +0100)
Fix typo in comment explaining rb_tree usage.
s/int/in

Signed-off-by: Nikanth Karthikesan <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
include/linux/rbtree.h

index 9c295411d01f66a65a22b034c6d13b7c7569cef4..5210a5c60877c2b0d08b831d9f2bdcb8ec1b2b3a 100644 (file)
 
   Some example of insert and search follows here. The search is a plain
   normal search over an ordered tree. The insert instead must be implemented
-  int two steps: as first thing the code must insert the element in
-  order as a red leaf in the tree, then the support library function
-  rb_insert_color() must be called. Such function will do the
-  not trivial work to rebalance the rbtree if necessary.
+  in two steps: First, the code must insert the element in order as a red leaf
+  in the tree, and then the support library function rb_insert_color() must
+  be called. Such function will do the not trivial work to rebalance the
+  rbtree, if necessary.
 
 -----------------------------------------------------------------------
 static inline struct page * rb_search_page_cache(struct inode * inode,
This page took 0.042906 seconds and 4 git commands to generate.