/* flush_journal_list frequently needs to find a newer transaction for a given block. This does that, or returns NULL if it can't find anything  */
static struct reiserfs_journal_list* find_newer_jl_for_cn(struct reiserfs_journal_cnode *cn)
/* flush_journal_list frequently needs to find a newer transaction for a given block. This does that, or returns NULL if it can't find anything  */
static struct reiserfs_journal_list* find_newer_jl_for_cn(struct reiserfs_journal_cnode *cn)
{
	struct super_block *sb = cn->sb;
	b_blocknr_t blocknr = cn->blocknr;
	cn = cn->hprev;
	while (cn) {
		if (cn->sb == sb && cn->blocknr == blocknr && cn->jlist) {
			return cn->jlist;
		}
		cn = cn->hprev;
	}
	return NULL;
}