Fix various bogons and outright lies.
};
/*
- * 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
#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
/*
* 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)