diff options
author | David Howells <dhowells@redhat.com> | 2009-11-20 21:50:44 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2009-11-20 21:50:44 +0000 |
commit | 4fa9f4ede88b4e2ff135b6e5717499d734508c62 (patch) | |
tree | 4a640f94091141d7115a7ef1000f97fd28f05e7a /kernel | |
parent | 1c2ea8a2c0b71cc5e07f518370d458d692c9b21a (diff) |
FS-Cache: Provide nop fscache_stat_d() if CONFIG_FSCACHE_STATS=n
Provide nop fscache_stat_d() macro if CONFIG_FSCACHE_STATS=n lest errors like
the following occur:
fs/fscache/cache.c: In function 'fscache_withdraw_cache':
fs/fscache/cache.c:386: error: implicit declaration of function 'fscache_stat_d'
fs/fscache/cache.c:386: error: 'fscache_n_cop_sync_cache' undeclared (first use in this function)
fs/fscache/cache.c:386: error: (Each undeclared identifier is reported only once
fs/fscache/cache.c:386: error: for each function it appears in.)
fs/fscache/cache.c:392: error: 'fscache_n_cop_dissociate_pages' undeclared (first use in this function)
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions