mm: zswap: clean up confusing comment
Subsystems (2)
PATCH 1/1 mm: zswap: clean up confusing comment
Correct wording and change one duplicated word (it) to "it is".
Fixes 0ab0abcf5115 ("mm/zswap: refactor the get/put routines")
Signed-off-by Randy Dunlap <[email protected]>
Cc Weijie Yang <[email protected]>
Cc Seth Jennings <[email protected]>
Cc Seth Jennings <[email protected]>
Cc Andrew Morton <[email protected]>
Cc Dan Streetman <[email protected]>
Cc Vitaly Wool <[email protected]>
--- mm/zswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
mm/zswap.c +3 -3
@@ -1022,10 +1022,10 @@ static int zswap_writeback_entry(struct/* * 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);