bcachefs: Fix btree_node_write_blocked() not being cleared
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Feb 2023 02:13:37 +0000 (21:13 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:50 +0000 (17:09 -0400)
commit06ab86d596170b9f3b88ce3f8e9fea7e9c1ea0c2
tree2df837f9d64edd6532cbf3cd32be818c37d831d9
parent434b1c75a4e79ee63cd58225567f752311cf3cd0
bcachefs: Fix btree_node_write_blocked() not being cleared

The btree_node_write_blocked bit was a later addition to this code,
it only mirrors the state of the b->write_blocked list (empty or
nonempty) - unfortunately, when it was added it wasn't correctly kept in
sync - oops.

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