zcache/debug: Use an array to initialize/use debugfs attributes.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Mar 2013 18:18:17 +0000 (13:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2013 08:43:09 +0000 (16:43 +0800)
commit9c0ad59ef4878f76779cc7261a3d7959c72699aa
tree015eba6af279cc4f55e1537145b0f224555408c4
parent95bdaee2140ef60d31fff1de71f43448ae56cdbe
zcache/debug: Use an array to initialize/use debugfs attributes.

It makes it neater and also allows us to piggyback on that
in the zcache_dump function.

Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/debug.c