]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swapfile.c: update the code comment above swap_count_continued()
authorBaoquan He <bhe@redhat.com>
Wed, 5 Feb 2025 09:27:15 +0000 (17:27 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 00:59:49 +0000 (16:59 -0800)
commit8758bf073c10f204a515d1ea7de88bfcdae04de4
treed8eca176b91ca3cf226dfa824c508a490c50c3dc
parent9fbd987bd976720f764408af0c60b1ca0b897a01
mm/swapfile.c: update the code comment above swap_count_continued()

Now, swap_count_continued() has two callers, __swap_duplicate() and
__swap_entry_free_locked(), the relevant code comment is stale.  Update it
to reflect the current situation.

Link: https://lkml.kernel.org/r/20250205092721.9395-7-bhe@redhat.com
Signed-off-by: Baoquan He <bhe@redhat.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swapfile.c