diff options
author | Rui Sun <[email protected]> | 2021-04-29 22:55:38 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-04-30 11:20:37 -0700 |
commit | 4b17f030fdc821ca58218489e3b7fd8381707849 (patch) | |
tree | 66aebb1f961b8f7b4f186761b8d424a798cfc02e | |
parent | 842ca547f706b1e05ccf3026a0ab15d24772a188 (diff) |
mm/filemap: update stale comment
Commit a6de4b4873e1 ("mm: convert find_get_entry to return the head page")
uses @index instead of @offset, but the comment is stale, update it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Rui Sun <[email protected]>
Signed-off-by: Shaokun Zhang <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 9620696f880c..5be57ba01d33 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1767,7 +1767,7 @@ EXPORT_SYMBOL(page_cache_prev_miss); * @mapping: the address_space to search * @index: The page cache index. * - * Looks up the page cache slot at @mapping & @offset. If there is a + * Looks up the page cache slot at @mapping & @index. If there is a * page cache page, the head page is returned with an increased refcount. * * If the slot holds a shadow entry of a previously evicted page, or a |