mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + mm-filemap-update-stale-comment.patch added to -mm tree
@ 2021-04-11 22:43 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-04-11 22:43 UTC (permalink / raw)
  To: mm-commits, zhangshaokun, willy, sunrui26


The patch titled
     Subject: mm/filemap: Update stale comment
has been added to the -mm tree.  Its filename is
     mm-filemap-update-stale-comment.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/mm-filemap-update-stale-comment.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/mm-filemap-update-stale-comment.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Rui Sun <sunrui26@huawei.com>
Subject: 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/1617948260-50724-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Rui Sun <sunrui26@huawei.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/filemap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/filemap.c~mm-filemap-update-stale-comment
+++ a/mm/filemap.c
@@ -1690,7 +1690,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
_

Patches currently in -mm which might be from sunrui26@huawei.com are

mm-filemap-update-stale-comment.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-11 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-11 22:43 + mm-filemap-update-stale-comment.patch added to -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).