+1
−1
Loading
atomic64_read(&j->seq) - j->seq_write_started == JOURNAL_STATE_BUF_NR is the condition in journal_entry_open where we return JOURNAL_ERR_max_open, so journal_cur_seq(j) - seq == JOURNAL_STATE_BUF_NR means that the buf corresponding to seq has started to write. Signed-off-by:Alan Huang <mmpgouride@gmail.com> Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>