diff options
author | 2025-02-05 17:27:14 +0800 | |
---|---|---|
committer | 2025-03-16 22:06:06 -0700 | |
commit | b4735d94c29f6a65362d3cce0d55aa65e0e319e3 (patch) | |
tree | b645bbfdd0c61c4325b52179a87715d0480f2582 /mm/swap_state.c | |
parent | mm/swap: skip scanning cluster range if it's empty cluster (diff) | |
download | wireguard-linux-b4735d94c29f6a65362d3cce0d55aa65e0e319e3.tar.xz wireguard-linux-b4735d94c29f6a65362d3cce0d55aa65e0e319e3.zip |
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions