From: Miaohe Lin Date: Thu, 3 Aug 2023 12:00:21 +0000 (+0800) Subject: mm/memcg: fix wrong function name above obj_cgroup_charge_zswap() X-Git-Tag: v6.6-rc1~156^2~194 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3a1060c2615874bd4d66d72dfdabbc48496ef040;p=thirdparty%2Flinux.git mm/memcg: fix wrong function name above obj_cgroup_charge_zswap() The correct function name is obj_cgroup_may_zswap(). Correct the comment. Link: https://lkml.kernel.org/r/20230803120021.762279-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin Acked-by: Johannes Weiner Reviewed-by: Muchun Song Signed-off-by: Andrew Morton --- diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 56abc4f426f4d..da9f983a090e1 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -7777,7 +7777,7 @@ bool obj_cgroup_may_zswap(struct obj_cgroup *objcg) * @objcg: the object cgroup * @size: size of compressed object * - * This forces the charge after obj_cgroup_may_swap() allowed + * This forces the charge after obj_cgroup_may_zswap() allowed * compression and storage in zwap for this cgroup to go ahead. */ void obj_cgroup_charge_zswap(struct obj_cgroup *objcg, size_t size)