]> Git Repo - linux.git/blobdiff - fs/dcache.c
mm: shrink parent dentries when shrinking slab
[linux.git] / fs / dcache.c
index 681cab81b454ae82f61d2e56074eb0e18d910612..268da2e2bc09f8f4694dafb5a55675dd22b3c8ee 100644 (file)
@@ -879,7 +879,7 @@ static int shrink_dcache_memory(int nr, gfp_t gfp_mask)
        if (nr) {
                if (!(gfp_mask & __GFP_FS))
                        return -1;
-               prune_dcache(nr, NULL, 0);
+               prune_dcache(nr, NULL, 1);
        }
        return (dentry_stat.nr_unused / 100) * sysctl_vfs_cache_pressure;
 }
This page took 0.028731 seconds and 4 git commands to generate.