Skip to content
Commit 6e9ed0cc authored by Américo Wang's avatar Américo Wang Committed by Pekka Enberg
Browse files

slob: clean up the code



- Use NULL instead of plain 0;
- Rename slob_page() to is_slob_page();
- Define slob_page() to convert void* to struct slob_page*;
- Rename slob_new_page() to slob_new_pages();
- Define slob_free_pages() accordingly.

Compile tests only.

Signed-off-by: default avatarWANG Cong <wangcong@zeuux.org>
Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent a6525042
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