Re: [Linux-cachefs] Variable fscache_cache_cleared_wq undefined!

2017-04-06 Thread David Howells
Corcodel Marian wrote: > 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

Re: [Linux-cachefs] Variable fscache_cache_cleared_wq undefined!

2017-04-06 Thread David Howells
Corcodel Marian wrote: > 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(>object_count)) > +