]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
staging: zcache: fix static variables defined in debug.h but used in mutiple C files
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Wed, 3 Apr 2013 10:16:21 +0000 (18:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2013 20:38:37 +0000 (13:38 -0700)
commit90874fc21ca6ca46058c5039fe78a4155d9a631e
treeb8a69fd52b80c831c3eef706c50363657f7fb38e
parentafb12edf9478b71885b088a9dc9e7099aa46cf8f
staging: zcache: fix static variables defined in debug.h but used in mutiple C files

After commit 95bdaee214 ("zcache: Move debugfs code out of zcache-main.c file")
be merged, most of knods in zcache debugfs just export zero since these variables
are defined in debug.h but are in use in multiple C files zcache-main.c and debug.c,
in this case variables can't be treated as shared variables.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/debug.c
drivers/staging/zcache/debug.h