diff options
| author | Alan Huang <[email protected]> | 2025-03-18 07:50:00 +0000 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2025-03-24 13:50:35 +0000 |
| commit | 5d361ae5afeef075264b369c413dbed0a0d04cfa (patch) | |
| tree | ac06107610b7996111da30cefc4da5860c4a0927 /fs/bcachefs/btree_trans_commit.c | |
| parent | bcachefs: Kill JOURNAL_ERRORS() (diff) | |
| download | kernel-5d361ae5afeef075264b369c413dbed0a0d04cfa.tar.gz kernel-5d361ae5afeef075264b369c413dbed0a0d04cfa.zip | |
bcachefs: Add missing smp_rmb()
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 <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
0 files changed, 0 insertions, 0 deletions
