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
0c04f5eb
Commit
0c04f5eb
authored
Jul 16, 2019
by
Kent Overstreet
Committed by
Kent Overstreet
Oct 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Don't overflow trans with iters from triggers
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
8d591d5d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
fs/bcachefs/buckets.c
fs/bcachefs/buckets.c
+2
-0
No files found.
fs/bcachefs/buckets.c
View file @
0c04f5eb
...
@@ -1359,6 +1359,8 @@ static int trans_get_key(struct btree_trans *trans,
...
@@ -1359,6 +1359,8 @@ static int trans_get_key(struct btree_trans *trans,
if
(
IS_ERR
(
*
iter
))
if
(
IS_ERR
(
*
iter
))
return
PTR_ERR
(
*
iter
);
return
PTR_ERR
(
*
iter
);
bch2_trans_iter_free_on_commit
(
trans
,
*
iter
);
*
k
=
bch2_btree_iter_peek_slot
(
*
iter
);
*
k
=
bch2_btree_iter_peek_slot
(
*
iter
);
ret
=
bkey_err
(
*
k
);
ret
=
bkey_err
(
*
k
);
if
(
ret
)
if
(
ret
)
...
...
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