diff options
| author | Randy Dunlap <[email protected]> | 2021-02-25 17:18:13 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-26 09:41:01 -0800 |
| commit | c0c641d77b9ab0da798ca86d34d2327d6f427f4c (patch) | |
| tree | 1cb319d293b99400eb1345f40d697967c24767b4 | |
| parent | 5d5d19eda6b0ee790af89c45e3f678345be6f50f (diff) | |
mm: zswap: clean up confusing comment
Correct wording and change one duplicated word (it) to "it is".
Link: https://lkml.kernel.org/r/[email protected]
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: Dan Streetman <[email protected]>
Cc: Vitaly Wool <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
| -rw-r--r-- | mm/zswap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/zswap.c b/mm/zswap.c index 182f6ad5aa69..1e41c2857068 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); |