]> 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>
Fri, 7 Feb 2025 02:50:37 +0000 (10:50 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 4 Mar 2025 05:49:40 +0000 (21:49 -0800)
commitb37fa37cbff0ce96e8ddbbee3f8b946400385090
tree8ac0f415c6f94dd15f5279e6a94d5ee55f798793
parent576b78b970a04f45e01d488eeb492d311600a604
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/Z6V0/UvG1fvkQ4t/@fedora
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