[Linux-cachefs] Variable fscache_cache_cleared_wq undefined!
Corcodel Marian
asd at marian1000.go.ro
Fri Mar 3 12:13:30 UTC 2017
Hi on function fscache_object_destroyed may run with variable undefined when in not set CONFIG_FSCACHE
+void fscache_object_destroyed(struct fscache_cache *cache)
+{
+#ifdef CONFIG_FSCACHE
+ if (atomic_dec_and_test(&cache->object_count))
+ wake_up_all(&fscache_cache_cleared_wq);
+#endif
}
Please looking here for more info: http://lxr.free-electrons.com/source/fs/fscache/cache.c#L19
--
Visit my project https://sourceforge.net/projects/network-card-driver/?source=navbar
More information about the Linux-cachefs
mailing list