commit | 8c3f6da9fc526e7ba0f6449efa1040084406e9ba | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kent.overstreet@gmail.com> | Mon Jun 14 18:16:10 2021 -0400 |
committer | Kent Overstreet <kent.overstreet@linux.dev> | Sun Oct 22 17:09:06 2023 -0400 |
tree | 6106b0097c188e1acb746de16468c28f095aad40 | |
parent | b89726ab86aab15ea8526fb365da6a0f5d474241 [diff] |
bcachefs: Improve iter->should_be_locked Adding iter->should_be_locked introduced a regression where it ended up not being set on the iterator passed to bch2_btree_update_start(), which is definitely not what we want. This patch requires it to be set when calling bch2_trans_update(), and adds various fixups to make that happen. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>