Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ae931b63
Commit
ae931b63
authored
Apr 14, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Apr 14, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] radix-tree comment fix
Fix various bogons and outright lies.
parent
4c538514
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
include/linux/fs.h
include/linux/fs.h
+1
-1
lib/radix-tree.c
lib/radix-tree.c
+1
-6
mm/filemap.c
mm/filemap.c
+1
-1
No files found.
include/linux/fs.h
View file @
ae931b63
...
@@ -365,7 +365,7 @@ struct block_device {
...
@@ -365,7 +365,7 @@ struct block_device {
};
};
/*
/*
* Radix-tre tags, for tagging dirty and writeback pages within the pagecache
* Radix-tre
e
tags, for tagging dirty and writeback pages within the pagecache
* radix trees
* radix trees
*/
*/
#define PAGECACHE_TAG_DIRTY 0
#define PAGECACHE_TAG_DIRTY 0
...
...
lib/radix-tree.c
View file @
ae931b63
...
@@ -30,12 +30,7 @@
...
@@ -30,12 +30,7 @@
#include <linux/string.h>
#include <linux/string.h>
#include <linux/bitops.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__
#ifdef __KERNEL__
#define RADIX_TREE_MAP_SHIFT 6
#define RADIX_TREE_MAP_SHIFT 6
#else
#else
...
...
mm/filemap.c
View file @
ae931b63
...
@@ -551,7 +551,7 @@ unsigned find_get_pages(struct address_space *mapping, pgoff_t start,
...
@@ -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
* 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
,
unsigned
find_get_pages_tag
(
struct
address_space
*
mapping
,
pgoff_t
*
index
,
int
tag
,
unsigned
int
nr_pages
,
struct
page
**
pages
)
int
tag
,
unsigned
int
nr_pages
,
struct
page
**
pages
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment