diff options
Diffstat (limited to 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 0f7ec12d65ff..939584648504 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -489,6 +489,7 @@ repeat: | |||
489 | continue; | 489 | continue; |
490 | } | 490 | } |
491 | prune_one_dentry(dentry); | 491 | prune_one_dentry(dentry); |
492 | cond_resched_lock(&dcache_lock); | ||
492 | goto repeat; | 493 | goto repeat; |
493 | } | 494 | } |
494 | spin_unlock(&dcache_lock); | 495 | spin_unlock(&dcache_lock); |