diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-06-06 12:28:01 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:21 -0400 |
commit | c43a6ef9a0747ef1094ff14e173513070ed91600 (patch) | |
tree | d207064b67f5222cd7ce6a87557ef96101d13007 /fs/bcachefs/debug.c | |
parent | 5e82a9a1f4f82e273530b90d107638a5969d1de0 (diff) | |
download | lwn-c43a6ef9a0747ef1094ff14e173513070ed91600.tar.gz lwn-c43a6ef9a0747ef1094ff14e173513070ed91600.zip |
bcachefs: btree_bkey_cached_common
This is prep work for the btree key cache: btree iterators will point to
either struct btree, or a new struct bkey_cached.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/debug.c')
-rw-r--r-- | fs/bcachefs/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/debug.c b/fs/bcachefs/debug.c index bb69a2acd8dd..a11d7923ea5a 100644 --- a/fs/bcachefs/debug.c +++ b/fs/bcachefs/debug.c @@ -52,8 +52,8 @@ void __bch2_btree_verify(struct bch_fs *c, struct btree *b) bkey_copy(&v->key, &b->key); v->written = 0; - v->level = b->level; - v->btree_id = b->btree_id; + v->c.level = b->c.level; + v->c.btree_id = b->c.btree_id; bch2_btree_keys_init(v, &c->expensive_debug_checks); if (bch2_bkey_pick_read_device(c, bkey_i_to_s_c(&b->key), |