]> 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>
Tue, 4 Mar 2025 05:49:40 +0000 (21:49 -0800)
commit576b78b970a04f45e01d488eeb492d311600a604
treeb1d9236ef6c196ad6276edd683b0eca212c15db8
parent5599315eea434dc7f50d895b46b7934037b84d2e
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