From: Randy Dunlap Date: Fri, 26 Feb 2021 01:18:13 +0000 (-0800) Subject: mm: zswap: clean up confusing comment X-Git-Tag: v5.15~1629^2~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0c641d77b9ab0da798ca86d34d2327d6f427f4c;p=platform%2Fkernel%2Flinux-starfive.git mm: zswap: clean up confusing comment Correct wording and change one duplicated word (it) to "it is". Link: https://lkml.kernel.org/r/20201221042848.13980-1-rdunlap@infradead.org Fixes: 0ab0abcf5115 ("mm/zswap: refactor the get/put routines") Signed-off-by: Randy Dunlap Cc: Weijie Yang Cc: Seth Jennings Cc: Seth Jennings Cc: Dan Streetman Cc: Vitaly Wool Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/zswap.c b/mm/zswap.c index 182f6ad..1e41c28 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@ -1022,10 +1022,10 @@ static int zswap_writeback_entry(struct zpool *pool, unsigned long handle) /* * if we get here due to ZSWAP_SWAPCACHE_EXIST - * a load may happening concurrently - * it is safe and okay to not free the entry + * a load may be happening concurrently. + * it is safe and okay to not free the entry. * if we free the entry in the following put - * it it either okay to return !0 + * it is also okay to return !0 */ fail: spin_lock(&tree->lock);