struct reiserfs_journal *journal = SB_JOURNAL (sb); unsigned long bcount = journal->j_bcount; while(1) { set_current_state(TASK_UNINTERRUPTIBLE); schedule_timeout(1); journal->j_current_jl->j_state |= LIST_COMMIT_PENDING; while ((atomic_read(&journal->j_wcount) > 0 || atomic_read(&journal->j_jlock)) && journal->j_trans_id == trans_id) { queue_log_writer(sb); 
struct reiserfs_journal *journal = SB_JOURNAL(sb); unsigned long bcount = journal->j_bcount; while (1) { set_current_state(TASK_UNINTERRUPTIBLE); schedule_timeout(1); journal->j_current_jl->j_state |= LIST_COMMIT_PENDING; while ((atomic_read(&journal->j_wcount) > 0 || atomic_read(&journal->j_jlock)) && journal->j_trans_id == trans_id) { queue_log_writer(sb); } if (journal->j_trans_id != trans_id) break; if (bcount == journal->j_bcount) break; bcount = journal->j_bcount; 
static void let_transaction_grow(struct super_block *sb,                                 unsigned long trans_id){    struct reiserfs_journal *journal = SB_JOURNAL (sb);    unsigned long bcount = journal->j_bcount;    while(1) {	set_current_state(TASK_UNINTERRUPTIBLE);	schedule_timeout(1);	journal->j_current_jl->j_state |= LIST_COMMIT_PENDING;        while ((atomic_read(&journal->j_wcount) > 0 ||	        atomic_read(&journal->j_jlock)) &&	       journal->j_trans_id == trans_id) {	    queue_log_writer(sb);	}	if (journal->j_trans_id != trans_id)	    break;	if (bcount == journal->j_bcount)	    break;	bcount = journal->j_bcount;    }}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/bd4c625c061c2a38568d0add3478f59172455159/journal.c/buggy/fs/reiserfs/journal.c