look at the code. static inline int 105mb_cache_indexes(struct mb_cache *cache) 106{ 107#ifdef MB_CACHE_INDEXES_COUNT 108 return MB_CACHE_INDEXES_COUNT; 109#else 110 return cache->c_indexes_count; 111#endif 112} http://lxr.linux.no/linux+v2.6.34.1/fs/mbcache.c#L107 2010/7/17 Ryan Wang <openspace.wang@xxxxxxxxx>: > Hi, > > I wonder when MB_CACHE_INDEXES_COUNT is undefined > in mbcache? In mbcache.h, MB_CACHE_INDEXES_COUNT is > set 1, so this #if always gets true. Can we remove it for it seems > meaningless. > > thanks, > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- Best Regards Lin -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ