[PATCH] preparation to __user_walk_fd cleanup
[deliverable/linux.git] / fs / dcache.c
index 3818d6ab76ca18e398f6d425b2879012f3a49ff2..f2584d22cb45e9a46cde2fb3f8c376a47273b39a 100644 (file)
@@ -487,6 +487,7 @@ restart:
                                if (!cnt)
                                        break;
                        }
+                       cond_resched_lock(&dcache_lock);
                }
        }
        while (!list_empty(&tmp)) {
This page took 0.026257 seconds and 5 git commands to generate.