Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <rdunlap@infradead.org>
Cc: Weijie Yang <weijie.yang@samsung.com>
Cc: Seth Jennings <sjennings@variantweb.net>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
c0c641d7 5d5d19ed

+3 -3
+3 -3
mm/zswap.c
··· 1022 1022 1023 1023 /* 1024 1024 * if we get here due to ZSWAP_SWAPCACHE_EXIST 1025 - * a load may happening concurrently 1026 - * it is safe and okay to not free the entry 1025 + * a load may be happening concurrently. 1026 + * it is safe and okay to not free the entry. 1027 1027 * if we free the entry in the following put 1028 - * it it either okay to return !0 1028 + * it is also okay to return !0 1029 1029 */ 1030 1030 fail: 1031 1031 spin_lock(&tree->lock);