diff options
author | SeongJae Park <sj38.park@gmail.com> | 2014-04-07 15:38:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-07 16:36:03 -0700 |
commit | 6b4525164e247e29f48b3a69e3d35f60fab50ae5 (patch) | |
tree | f6cfc989d1a1c23e006f5f9abf4a0ae14496e63c /mm/zswap.c | |
parent | f4659d8e620d08bd1a84a8aec5d2f5294a242764 (diff) | |
download | linux-6b4525164e247e29f48b3a69e3d35f60fab50ae5.tar.gz linux-6b4525164e247e29f48b3a69e3d35f60fab50ae5.tar.bz2 linux-6b4525164e247e29f48b3a69e3d35f60fab50ae5.zip |
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/zswap.c')
-rw-r--r-- | mm/zswap.c | 4 |
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) * 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 * 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 * be held while changing the refcount. Since the lock must * be held, there is no reason to also make refcount atomic. * offset - the swap offset for the entry. Index into the red-black tree. * handle - zsmalloc allocation handle that stores the compressed page data * length - the length in bytes of the compressed page data. Needed during - * decompression + * decompression */ struct zswap_entry { struct rb_node rbnode; |