mm: zswap: update comment for struct zswap_entry
authorXiu Jianfeng <xiujianfeng@huawei.com>
Tue, 8 Aug 2023 06:20:56 +0000 (06:20 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:37:47 +0000 (13:37 -0700)
commit97157d8908bc10dec22cc4479f4c5cc7db58a12c
treeed631a6b7ce52d364d6ee7987b6a29719a1607cc
parent3f32c49ed6f15c8412a8abc93a92c4b37e6c4592
mm: zswap: update comment for struct zswap_entry

Since commit 0bb488498c98 ("mm: zswap: remove zswap_header"), the 'offset'
has been replaced by swpentry, update the comment for it, and also add
comment for 'objcg'.

Link: https://lkml.kernel.org/r/20230808062056.292950-1-xiujianfeng@huaweicloud.com
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Nhat Pham <nphamcs@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zswap.c