]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] radix-tree comment fix
authorAndrew Morton <akpm@osdl.org>
Thu, 15 Apr 2004 00:02:51 +0000 (17:02 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 15 Apr 2004 00:02:51 +0000 (17:02 -0700)
Fix various bogons and outright lies.

include/linux/fs.h
lib/radix-tree.c
mm/filemap.c

index 3d7c320d675e67ab772436a32817173c6fd93eff..c9fb9bbe154ae6e3fa16ffb91b5c8e9fa36ac97d 100644 (file)
@@ -365,7 +365,7 @@ struct block_device {
 };
 
 /*
- * Radix-tre tags, for tagging dirty and writeback pages within the pagecache
+ * Radix-tree tags, for tagging dirty and writeback pages within the pagecache
  * radix trees
  */
 #define PAGECACHE_TAG_DIRTY    0
index 5fb59f715eab01945c6ed1240089bc7e65b4a9fe..1d0a884b91703a625fe3fa6d920ab78435783a4d 100644 (file)
 #include <linux/string.h>
 #include <linux/bitops.h>
 
-/*
- * Radix tree node definition.
- *
- * RADIX_TREE_MAP_SHIFT must be >= log2(BITS_PER_LONG).  Otherwise the tags
- * array will have zero size and the set_tag() arithmetic will go wrong.
- */
+
 #ifdef __KERNEL__
 #define RADIX_TREE_MAP_SHIFT   6
 #else
index c83a97b5aed752d927a00ab4aa6c9c7515a37a92..4149342710f1333e87c9b64d1d95fb3362deaa5c 100644 (file)
@@ -551,7 +551,7 @@ unsigned find_get_pages(struct address_space *mapping, pgoff_t start,
 
 /*
  * Like find_get_pages, except we only return pages which are tagged with
- * `tag'.   We update *start to index the next page for the traversal.
+ * `tag'.   We update *index to index the next page for the traversal.
  */
 unsigned find_get_pages_tag(struct address_space *mapping, pgoff_t *index,
                        int tag, unsigned int nr_pages, struct page **pages)