aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 681cab81b454..268da2e2bc09 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -879,7 +879,7 @@ static int shrink_dcache_memory(int nr, gfp_t gfp_mask)
879 if (nr) { 879 if (nr) {
880 if (!(gfp_mask & __GFP_FS)) 880 if (!(gfp_mask & __GFP_FS))
881 return -1; 881 return -1;
882 prune_dcache(nr, NULL, 0); 882 prune_dcache(nr, NULL, 1);
883 } 883 }
884 return (dentry_stat.nr_unused / 100) * sysctl_vfs_cache_pressure; 884 return (dentry_stat.nr_unused / 100) * sysctl_vfs_cache_pressure;
885} 885}