Konrad Rzeszutek Wilk 833f8662af cleancache: Make cleancache_init use a pointer for the ops
Instead of using a backend_registered to determine whether a backend is
enabled.  This allows us to remove the backend_register check and just
do 'if (cleancache_ops)'

[v1: Rebase on top of b97c4b430b0a (ramster->zcache move]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Cc: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Cc: Andor Daam <andor.daam@googlemail.com>
Cc: Dan Magenheimer <dan.magenheimer@oracle.com>
Cc: Florian Schmaus <fschmaus@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Stefan Hengelein <ilendir@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-04-30 17:04:01 -07:00
..
2012-01-03 22:54:56 -05:00
2013-04-29 15:54:38 -07:00
2011-07-26 16:49:47 -07:00
2013-02-23 17:50:18 -08:00
2012-06-20 14:39:36 -07:00
2013-04-29 15:54:28 -07:00
2012-12-18 15:02:14 -08:00
2013-04-29 15:24:33 +02:00
2012-12-18 15:02:14 -08:00
2013-02-23 17:50:18 -08:00
2012-12-20 18:46:29 -05:00