aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 2b6f09af13ab..5afc4994bb27 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -552,6 +552,8 @@ restart:
552 prune_ratio = unused / count; 552 prune_ratio = unused / count;
553 spin_lock(&sb_lock); 553 spin_lock(&sb_lock);
554 list_for_each_entry(sb, &super_blocks, s_list) { 554 list_for_each_entry(sb, &super_blocks, s_list) {
555 if (list_empty(&sb->s_instances))
556 continue;
555 if (sb->s_nr_dentry_unused == 0) 557 if (sb->s_nr_dentry_unused == 0)
556 continue; 558 continue;
557 sb->s_count++; 559 sb->s_count++;