git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
jbd
/
recovery.c
diff --git
a/fs/jbd/recovery.c
b/fs/jbd/recovery.c
index
4a3d494
..
103c34e
100644
(file)
--- a/
fs/jbd/recovery.c
+++ b/
fs/jbd/recovery.c
@@
-354,6
+354,8
@@
static int do_one_pass(journal_t *journal,
struct buffer_head * obh;
struct buffer_head * nbh;
struct buffer_head * obh;
struct buffer_head * nbh;
+ cond_resched(); /* We're under lock_kernel() */
+
/* If we already know where to stop the log traversal,
* check right now that we haven't gone past the end of
* the log. */
/* If we already know where to stop the log traversal,
* check right now that we haven't gone past the end of
* the log. */