[PATCH] cond_resched_lock() fix
authorJan Kara <jack@suse.cz>
Mon, 13 Jun 2005 22:52:32 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 14 Jun 2005 03:58:58 +0000 (20:58 -0700)
commit6df3cecbb95345981718b38d357c50bc3425420a
tree50550e3863513ac051164abc082e2899d61d4dab
parentf797f9cc5485b50c35c106b462e1bc432ec37f90
[PATCH] cond_resched_lock() fix

On one path, cond_resched_lock() fails to return true if it dropped the lock.
We think this might be causing the crashes in JBD's log_do_checkpoint().

Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sched.c