BUG_ON (!th->t_trans_id); /* you can sync while nested, very, very bad */ if (th->t_refcount > 1) { BUG() ; } if (journal->j_len == 0) { reiserfs_prepare_for_journal(p_s_sb, SB_BUFFER_WITH_SB(p_s_sb), 1) ; journal_mark_dirty(th, p_s_sb, SB_BUFFER_WITH_SB(p_s_sb)) ; } return do_journal_end(th, p_s_sb, nblocks, COMMIT_NOW | WAIT) ; 
BUG_ON(!th->t_trans_id); /* you can sync while nested, very, very bad */ if (th->t_refcount > 1) { BUG(); } if (journal->j_len == 0) { reiserfs_prepare_for_journal(p_s_sb, SB_BUFFER_WITH_SB(p_s_sb), 1); journal_mark_dirty(th, p_s_sb, SB_BUFFER_WITH_SB(p_s_sb)); } return do_journal_end(th, p_s_sb, nblocks, COMMIT_NOW | WAIT); 
int journal_end_sync(struct reiserfs_transaction_handle *th, struct super_block *p_s_sb, unsigned long nblocks) {  struct reiserfs_journal *journal = SB_JOURNAL (p_s_sb);  BUG_ON (!th->t_trans_id);  /* you can sync while nested, very, very bad */  if (th->t_refcount > 1) {    BUG() ;  }  if (journal->j_len == 0) {    reiserfs_prepare_for_journal(p_s_sb, SB_BUFFER_WITH_SB(p_s_sb), 1) ;    journal_mark_dirty(th, p_s_sb, SB_BUFFER_WITH_SB(p_s_sb)) ;  }  return do_journal_end(th, p_s_sb, nblocks, COMMIT_NOW | WAIT) ;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/bd4c625c061c2a38568d0add3478f59172455159/journal.c/buggy/fs/reiserfs/journal.c