Commit 6b452516 authored by SeongJae Park's avatar SeongJae Park Committed by Linus Torvalds

mm/zswap.c: fix trivial typo and arrange indentation

Signed-off-by: default avatarSeongJae Park <sj38.park@gmail.com>
Cc: Seth Jennings <sjenning@linux.vnet.ibm.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f4659d8e
...@@ -160,7 +160,7 @@ static void zswap_comp_exit(void) ...@@ -160,7 +160,7 @@ static void zswap_comp_exit(void)
* rbnode - links the entry into red-black tree for the appropriate swap type * rbnode - links the entry into red-black tree for the appropriate swap type
* refcount - the number of outstanding reference to the entry. This is needed * refcount - the number of outstanding reference to the entry. This is needed
* to protect against premature freeing of the entry by code * to protect against premature freeing of the entry by code
* concurent calls to load, invalidate, and writeback. The lock * concurrent calls to load, invalidate, and writeback. The lock
* for the zswap_tree structure that contains the entry must * for the zswap_tree structure that contains the entry must
* be held while changing the refcount. Since the lock must * be held while changing the refcount. Since the lock must
* be held, there is no reason to also make refcount atomic. * be held, there is no reason to also make refcount atomic.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment