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
83bd5985
Commit
83bd5985
authored
Feb 09, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Track iter->ip_allocated at bch2_trans_copy_iter()
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
3254c1b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_iter.c
+3
-0
No files found.
fs/bcachefs/btree_iter.c
View file @
83bd5985
...
@@ -2765,6 +2765,9 @@ void bch2_trans_copy_iter(struct btree_iter *dst, struct btree_iter *src)
...
@@ -2765,6 +2765,9 @@ void bch2_trans_copy_iter(struct btree_iter *dst, struct btree_iter *src)
struct
btree_trans
*
trans
=
src
->
trans
;
struct
btree_trans
*
trans
=
src
->
trans
;
*
dst
=
*
src
;
*
dst
=
*
src
;
#ifdef TRACK_PATH_ALLOCATED
dst
->
ip_allocated
=
_RET_IP_
;
#endif
if
(
src
->
path
)
if
(
src
->
path
)
__btree_path_get
(
trans
->
paths
+
src
->
path
,
src
->
flags
&
BTREE_ITER_INTENT
);
__btree_path_get
(
trans
->
paths
+
src
->
path
,
src
->
flags
&
BTREE_ITER_INTENT
);
if
(
src
->
update_path
)
if
(
src
->
update_path
)
...
...
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