Commit 42af0ad5 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix a race with b->write_type



b->write_type needs to be set atomically with setting the
btree_node_need_write flag, so move it into b->flags.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 7fec8266
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment