mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
bcachefs: Improve bch2_assert_pos_locked()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
bcfbaea8e5
commit
25989f4a9b
@ -332,6 +332,8 @@ out:
|
||||
void bch2_assert_pos_locked(struct btree_trans *trans, enum btree_id id,
|
||||
struct bpos pos, bool key_cache)
|
||||
{
|
||||
bch2_trans_verify_not_unlocked(trans);
|
||||
|
||||
struct btree_path *path;
|
||||
struct trans_for_each_path_inorder_iter iter;
|
||||
struct printbuf buf = PRINTBUF;
|
||||
|
Loading…
Reference in New Issue
Block a user