]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/swap: rename swap_is_has_cache() to swap_only_has_cache()
authorBaoquan He <bhe@redhat.com>
Wed, 5 Feb 2025 09:27:14 +0000 (17:27 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 00:59:49 +0000 (16:59 -0800)
commit9fbd987bd976720f764408af0c60b1ca0b897a01
treef11af466f5c04d44b5e0a6a5468129b135746a4f
parentcbd874967d85cd449111e82bd517111e340e64f9
mm/swap: rename swap_is_has_cache() to swap_only_has_cache()

There are two predicates in the name of swap_is_has_cache() which is
confusing.  Renaming it to remove the confusion and can better reflect its
functionality.

Link: https://lkml.kernel.org/r/20250205092721.9395-6-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