]> www.infradead.org Git - users/dwmw2/linux.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>
Mon, 17 Mar 2025 05:06:06 +0000 (22:06 -0700)
commitf80ddc148ca6505060fbef6f8365ca151103e16f
tree4ee5e192246266aaa6b4dc3ae258118a33a4a3fa
parentb4735d94c29f6a65362d3cce0d55aa65e0e319e3
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.

[bhe@redhat.com: v2]
Link: https://lkml.kernel.org/r/Z6V0/UvG1fvkQ4t/@fedora
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