diff options
author | 2025-03-18 15:50:01 +0800 | |
---|---|---|
committer | 2025-03-24 09:50:35 -0400 | |
commit | dd7ae389ff84acb4f332f3fa614d15a3e1f2087f (patch) | |
tree | 9e6962e655002bf69359ea91bb262e9a72ffbebd | |
parent | bcachefs: Fix incorrect state count (diff) | |
download | wireguard-linux-dd7ae389ff84acb4f332f3fa614d15a3e1f2087f.tar.xz wireguard-linux-dd7ae389ff84acb4f332f3fa614d15a3e1f2087f.zip |
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>
-rw-r--r-- | fs/bcachefs/journal.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/journal.c b/fs/bcachefs/journal.c index 8d4f3bfaa228..fc15644c9f24 100644 --- a/fs/bcachefs/journal.c +++ b/fs/bcachefs/journal.c @@ -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 && |