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/alloc_background.c | |
parent | 5e82a9a1f4f82e273530b90d107638a5969d1de0 (diff) | |
download | linux-c43a6ef9a0747ef1094ff14e173513070ed91600.tar.gz linux-c43a6ef9a0747ef1094ff14e173513070ed91600.tar.bz2 linux-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/alloc_background.c')
-rw-r--r-- | fs/bcachefs/alloc_background.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/alloc_background.c b/fs/bcachefs/alloc_background.c index a6d3417ac262..5988971521eb 100644 --- a/fs/bcachefs/alloc_background.c +++ b/fs/bcachefs/alloc_background.c @@ -1529,7 +1529,7 @@ again: rcu_read_unlock(); btree_node_lock_type(c, b, SIX_LOCK_read); bch2_btree_node_write(c, b, SIX_LOCK_read); - six_unlock_read(&b->lock); + six_unlock_read(&b->c.lock); goto again; } else { nodes_unwritten = true; |