mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 15:41:52 +02:00
bcachefs: Remove spurious smp_mb()
The smp_mb() is paired with nothing. Signed-off-by: Alan Huang <mmpgouride@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
5cc0ab39fb
commit
dd7ae389ff
|
|
@ -761,7 +761,6 @@ void bch2_journal_entry_res_resize(struct journal *j,
|
|||
goto out;
|
||||
|
||||
j->cur_entry_u64s = max_t(int, 0, j->cur_entry_u64s - d);
|
||||
smp_mb();
|
||||
state = READ_ONCE(j->reservations);
|
||||
|
||||
if (state.cur_entry_offset < JOURNAL_ENTRY_CLOSED_VAL &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user