]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: cleancache: clean up cleancache_enabled
authorBob Liu <lliubbo@gmail.com>
Tue, 26 Mar 2013 23:24:19 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:03 +0000 (17:12 +1100)
commit795989b07c5c6a81fb642c407fbb79f02f1b951c
tree51b348b2e6a6ede2573f83de9300b372cafa7e86
parentb307a6138b6a31ada6bdb84e9e0f6849bf02569f
mm: cleancache: clean up cleancache_enabled

cleancache_ops is used to decide whether backend is registered.
So now cleancache_enabled is always true if defined CONFIG_CLEANCACHE.

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: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Stefan Hengelein <ilendir@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/cleancache.h
mm/cleancache.c