aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorSeongJae Park <sj38.park@gmail.com>2014-04-07 18:38:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-07 19:36:03 -0400
commit6b4525164e247e29f48b3a69e3d35f60fab50ae5 (patch)
treef6cfc989d1a1c23e006f5f9abf4a0ae14496e63c /mm
parentf4659d8e620d08bd1a84a8aec5d2f5294a242764 (diff)
mm/zswap.c: fix trivial typo and arrange indentation
Signed-off-by: SeongJae Park <sj38.park@gmail.com> Cc: Seth Jennings <sjenning@linux.vnet.ibm.com> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/zswap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/zswap.c b/mm/zswap.c
index e55bab9dc41f..5b2245324715 100644
--- a/mm/zswap.c
+++ b/mm/zswap.c
@@ -160,14 +160,14 @@ static void zswap_comp_exit(void)
160 * rbnode - links the entry into red-black tree for the appropriate swap type 160 * rbnode - links the entry into red-black tree for the appropriate swap type
161 * refcount - the number of outstanding reference to the entry. This is needed 161 * refcount - the number of outstanding reference to the entry. This is needed
162 * to protect against premature freeing of the entry by code 162 * to protect against premature freeing of the entry by code
163 * concurent calls to load, invalidate, and writeback. The lock 163 * concurrent calls to load, invalidate, and writeback. The lock
164 * for the zswap_tree structure that contains the entry must 164 * for the zswap_tree structure that contains the entry must
165 * be held while changing the refcount. Since the lock must 165 * be held while changing the refcount. Since the lock must
166 * be held, there is no reason to also make refcount atomic. 166 * be held, there is no reason to also make refcount atomic.
167 * offset - the swap offset for the entry. Index into the red-black tree. 167 * offset - the swap offset for the entry. Index into the red-black tree.
168 * handle - zsmalloc allocation handle that stores the compressed page data 168 * handle - zsmalloc allocation handle that stores the compressed page data
169 * length - the length in bytes of the compressed page data. Needed during 169 * length - the length in bytes of the compressed page data. Needed during
170 * decompression 170 * decompression
171 */ 171 */
172struct zswap_entry { 172struct zswap_entry {
173 struct rb_node rbnode; 173 struct rb_node rbnode;