Index: kernel/generic/src/adt/btree.c
===================================================================
--- kernel/generic/src/adt/btree.c	(revision 55b77d9e6e4dab7c54e9826ca79d2d6a0ddb6d87)
+++ kernel/generic/src/adt/btree.c	(revision b0f00a9ed1b00bda8a286a4c4bbe625a7f410bc6)
@@ -38,9 +38,9 @@
  *
  * The B+tree has the following properties:
- * @li it is a ballanced 3-4-5 tree (i.e. BTREE_M = 5)
+ * @li it is a balanced 3-4-5 tree (i.e. BTREE_M = 5)
  * @li values (i.e. pointers to values) are stored only in leaves
  * @li leaves are linked in a list
  *
- * Be carefull when using these trees. They need to allocate
+ * Be careful when using these trees. They need to allocate
  * and deallocate memory for their index nodes and as such
  * can sleep.
@@ -146,5 +146,5 @@
  * also makes use of this feature.
  *
- * @param node     B-tree node into wich the new key is to be inserted.
+ * @param node     B-tree node into which the new key is to be inserted.
  * @param key      The key to be inserted.
  * @param value    Pointer to value to be inserted.
@@ -270,5 +270,5 @@
  * This feature is used during insert by right rotation.
  *
- * @param node     B-tree node into wich the new key is to be inserted.
+ * @param node     B-tree node into which the new key is to be inserted.
  * @param key      The key to be inserted.
  * @param value    Pointer to value to be inserted.
@@ -463,5 +463,5 @@
 	if (rnode->keys < BTREE_MAX_KEYS) {
 		/*
-		 * The rotaion can be done. The right sibling has free space.
+		 * The rotation can be done. The right sibling has free space.
 		 */
 		node_insert_key_and_rsubtree(node, inskey, insvalue, rsubtree);
@@ -484,5 +484,5 @@
  * the median will be copied there.
  *
- * @param node     B-tree node wich is going to be split.
+ * @param node     B-tree node which is going to be split.
  * @param key      The key to be inserted.
  * @param value    Pointer to the value to be inserted.
@@ -562,5 +562,5 @@
 	if (node->keys < BTREE_MAX_KEYS) {
 		/*
-		 * Node conatins enough space, the key can be stored immediately.
+		 * Node contains enough space, the key can be stored immediately.
 		 */
 		node_insert_key_and_rsubtree(node, key, value, rsubtree);
@@ -806,5 +806,5 @@
 		
 		/*
-		 * The key can be immediatelly removed.
+		 * The key can be immediately removed.
 		 *
 		 * Note that the right subtree is removed because when
