Skip to content

Commit

Permalink
mm/zswap.c: fix trivial typo and arrange indentation
Browse files Browse the repository at this point in the history
Signed-off-by: SeongJae Park <[email protected]>
Cc: Seth Jennings <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
sjp38 authored and torvalds committed Apr 7, 2014
1 parent f4659d8 commit 6b45251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm/zswap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6b45251

Please sign in to comment.