From 32913f49f54f0cf9ccf581e3abd2d1fc6ba4debf Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 16 Jun 2023 15:56:42 -0400 Subject: six locks: Seq now only incremented on unlock Signed-off-by: Kent Overstreet --- fs/bcachefs/btree_iter.c | 1 - 1 file changed, 1 deletion(-) (limited to 'fs/bcachefs/btree_iter.c') diff --git a/fs/bcachefs/btree_iter.c b/fs/bcachefs/btree_iter.c index 3e65e6876ec7..f0d0b64a55a4 100644 --- a/fs/bcachefs/btree_iter.c +++ b/fs/bcachefs/btree_iter.c @@ -652,7 +652,6 @@ void bch2_btree_path_level_init(struct btree_trans *trans, BUG_ON(path->cached); EBUG_ON(!btree_path_pos_in_node(path, b)); - EBUG_ON(six_lock_seq(&b->c.lock) & 1); path->l[b->c.level].lock_seq = six_lock_seq(&b->c.lock); path->l[b->c.level].b = b; -- cgit v1.2.3