]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Fix journal_buf bitfield accesses
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 17 Feb 2024 22:54:39 +0000 (17:54 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:25 +0000 (21:22 -0400)
commitd9290c9931e4c2ff27b13209610521681418e194
tree52a864d8fb1883192f6d922532c7489b3fd714f2
parenta393f3312387597d2e3b6b44bf50ef7f105f623d
bcachefs: Fix journal_buf bitfield accesses

All jounal_buf bitfield updates must happen under the journal lock -
perhaps we should just switch these to atomic bit flags.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_write_buffer.c
fs/bcachefs/journal_io.c