aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_trans_commit.c
diff options
context:
space:
mode:
authorAlan Huang <[email protected]>2025-03-18 07:50:00 +0000
committerKent Overstreet <[email protected]>2025-03-24 13:50:35 +0000
commit5d361ae5afeef075264b369c413dbed0a0d04cfa (patch)
treeac06107610b7996111da30cefc4da5860c4a0927 /fs/bcachefs/btree_trans_commit.c
parentbcachefs: Kill JOURNAL_ERRORS() (diff)
downloadkernel-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