]> 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>
Fri, 28 Feb 2025 00:59:49 +0000 (16:59 -0800)
commit3ca475451537217d9a1fcfaa4abc7d4835d43597
tree9d19bacabe06ccd7f3dece8bbaf168524a4883e6
parent8758bf073c10f204a515d1ea7de88bfcdae04de4
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