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
c4ecf802
Commit
c4ecf802
authored
3 years ago
by
Kent Overstreet
Committed by
Kent Overstreet
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Fix an error path in bch2_snapshot_node_create()
Signed-off-by:
Kent Overstreet
<
kent.overstreet@gmail.com
>
parent
b674bfad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/bcachefs/subvolume.c
fs/bcachefs/subvolume.c
+1
-1
No files found.
fs/bcachefs/subvolume.c
View file @
c4ecf802
...
@@ -522,7 +522,7 @@ static int bch2_snapshot_node_create(struct btree_trans *trans, u32 parent,
...
@@ -522,7 +522,7 @@ static int bch2_snapshot_node_create(struct btree_trans *trans, u32 parent,
n
=
bch2_trans_kmalloc
(
trans
,
sizeof
(
*
n
));
n
=
bch2_trans_kmalloc
(
trans
,
sizeof
(
*
n
));
ret
=
PTR_ERR_OR_ZERO
(
n
);
ret
=
PTR_ERR_OR_ZERO
(
n
);
if
(
ret
)
if
(
ret
)
return
ret
;
goto
err
;
bkey_reassemble
(
&
n
->
k_i
,
k
);
bkey_reassemble
(
&
n
->
k_i
,
k
);
...
...
This diff is collapsed.
Click to expand it.
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