summaryrefslogtreecommitdiff
path: root/fs/dcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 30cd770fa49a..217cad630451 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -340,7 +340,7 @@ void prune_dcache(int count)
if (dentry->d_flags & DCACHE_REFERENCED) {
dentry->d_flags &= ~DCACHE_REFERENCED;
list_add(&dentry->d_lru, &dentry_unused);
- goto next;
+ continue;
}
dentry_stat.nr_unused--;
@@ -349,7 +349,6 @@ void prune_dcache(int count)
BUG();
prune_one_dentry(dentry);
- next:
if (!--count)
break;
}