aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/jffs2/erase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c
index 66e7c2f1e644..bdab9bc51d65 100644
--- a/fs/jffs2/erase.c
+++ b/fs/jffs2/erase.c
@@ -142,7 +142,7 @@ void jffs2_erase_pending_blocks(struct jffs2_sb_info *c, int count)
142 } 142 }
143 143
144 /* Be nice */ 144 /* Be nice */
145 cond_resched(); 145 yield();
146 spin_lock(&c->erase_completion_lock); 146 spin_lock(&c->erase_completion_lock);
147 } 147 }
148 148