]> Gentwo Git Trees - 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>
Sun, 23 Feb 2025 06:25:13 +0000 (22:25 -0800)
commiteb6aeabfb8cc10fa9456a72e32dcf19320b96698
treeb9db3630bff1578a59c54e773b29cc03ec155656
parent75c02d96695e0c92f7e3ab72bdbe567b6ac9bce8
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