]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/zswap.c: change params from hidden to ro
authorDan Streetman <ddstreet@ieee.org>
Fri, 3 Jan 2014 03:10:02 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:02 +0000 (14:10 +1100)
commitd3dcf9c10dac4cf59bc87f11902c8bfc73345d66
treee8d6d2064ab3c25b2ba9c6da075e9699bac26082
parent6530b07db91c639e83ceb4d58926ebd959d2e615
mm/zswap.c: change params from hidden to ro

The "compressor" and "enabled" params are currently hidden, this changes
them to read-only, so userspace can tell if zswap is enabled or not and
see what compressor is in use.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Cc: Vladimir Murzin <murzin.v@gmail.com>
Cc: Bob Liu <bob.liu@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Weijie Yang <weijie.yang@samsung.com>
Acked-by: Seth Jennings <sjennings@variantweb.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/zswap.c