diff --git a/fs/lustre/fld/fld_cache.c b/fs/lustre/fld/fld_cache.c index 5267ba2..79b10bb 100644 --- a/fs/lustre/fld/fld_cache.c +++ b/fs/lustre/fld/fld_cache.c @@ -381,8 +381,7 @@ static int fld_cache_insert_nolock(struct fld_cache *cache, * insertion loop. */ - if (!cache->fci_no_shrink) - fld_cache_shrink(cache); + fld_cache_shrink(cache); head = &cache->fci_entries_head; diff --git a/fs/lustre/fld/fld_internal.h b/fs/lustre/fld/fld_internal.h index 465c6ccf..53648d2 100644 --- a/fs/lustre/fld/fld_internal.h +++ b/fs/lustre/fld/fld_internal.h @@ -109,7 +109,6 @@ struct fld_cache { /** Cache name used for debug and messages. */ char fci_name[LUSTRE_MDT_MAXNAMELEN]; - unsigned int fci_no_shrink:1; }; enum {