mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
Update bcachefs sources to a897b0f199 bcachefs: Fix a locking bug
This commit is contained in:
parent
fad8236b81
commit
c452666fb3
@ -1 +1 @@
|
|||||||
275cba438ed6630d5e4db7c9164ac5334a8a4cd7
|
a897b0f199b2fb888f5885f115306759199094dd
|
||||||
|
@ -114,7 +114,7 @@ static inline void btree_node_write_if_need(struct bch_fs *c, struct btree *b,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
six_unlock_read(&b->lock);
|
six_unlock_type(&b->lock, lock_held);
|
||||||
btree_node_wait_on_io(b);
|
btree_node_wait_on_io(b);
|
||||||
btree_node_lock_type(c, b, lock_held);
|
btree_node_lock_type(c, b, lock_held);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user