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
25989f4a
Commit
25989f4a
authored
May 19, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Improve bch2_assert_pos_locked()
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
bcfbaea8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_iter.c
+2
-0
No files found.
fs/bcachefs/btree_iter.c
View file @
25989f4a
...
@@ -332,6 +332,8 @@ static int bch2_btree_iter_verify_ret(struct btree_iter *iter, struct bkey_s_c k
...
@@ -332,6 +332,8 @@ static int bch2_btree_iter_verify_ret(struct btree_iter *iter, struct bkey_s_c k
void
bch2_assert_pos_locked
(
struct
btree_trans
*
trans
,
enum
btree_id
id
,
void
bch2_assert_pos_locked
(
struct
btree_trans
*
trans
,
enum
btree_id
id
,
struct
bpos
pos
,
bool
key_cache
)
struct
bpos
pos
,
bool
key_cache
)
{
{
bch2_trans_verify_not_unlocked
(
trans
);
struct
btree_path
*
path
;
struct
btree_path
*
path
;
struct
trans_for_each_path_inorder_iter
iter
;
struct
trans_for_each_path_inorder_iter
iter
;
struct
printbuf
buf
=
PRINTBUF
;
struct
printbuf
buf
=
PRINTBUF
;
...
...
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