lkml.org 
[lkml]   [2004]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.8-rc2-mm1

On Sat, 31 Jul 2004, Andrew Morton wrote:

> Sorry. Try this one instead.
>
> --- 25/fs/jbd/checkpoint.c~journal_clean_checkpoint_list-latency-fix-fix 2004-07-31 11:43:39.320530424 -0700
> +++ 25-akpm/fs/jbd/checkpoint.c 2004-07-31 13:20:22.562303576 -0700
> @@ -497,8 +497,8 @@ int __journal_clean_checkpoint_list(jour
> * We don't test cond_resched() here because another CPU could
> * be waiting on j_list_lock() while holding a different lock.
> */
> - if ((ret & 127) == 127) {
> - spin_unlock(&journal->j_list_lock);
> + transaction = journal->j_checkpoint_transactions
> + if (transaction && (ret & 127) == 127) {

this should cause a crash later on - 'transaction' is also the loop
variable here.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.051 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site