+3
−1
Loading
The smp_rmb() guarantees that reads from reservations.counter occur before accessing cur_entry_u64s. It's paired with the atomic64_try_cmpxchg in journal_entry_open. Signed-off-by:Alan Huang <mmpgouride@gmail.com> Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>