Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ee94c413
Commit
ee94c413
authored
Jan 06, 2023
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Delete a faulty assertion
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
c515e3f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_iter.c
+4
-5
No files found.
fs/bcachefs/btree_iter.c
View file @
ee94c413
...
...
@@ -1011,12 +1011,11 @@ static int bch2_btree_path_traverse_all(struct btree_trans *trans)
}
/*
* BTREE_ITER_NEED_RELOCK is ok here - if we called bch2_trans_unlock()
* and relock(), relock() won't relock since path->should_be_locked
* isn't set yet, which is all fine
* We used to assert that all paths had been traversed here
* (path->uptodate < BTREE_ITER_NEED_TRAVERSE); however, since
* path->Should_be_locked is not set yet, we we might have unlocked and
* then failed to relock a path - that's fine.
*/
trans_for_each_path
(
trans
,
path
)
BUG_ON
(
path
->
uptodate
>=
BTREE_ITER_NEED_TRAVERSE
);
err:
bch2_btree_cache_cannibalize_unlock
(
c
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment