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
3b1425a4
Commit
3b1425a4
authored
Oct 02, 2024
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bcachefs: Fix bch2_inode_is_open() check
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
abaa6d4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fs/bcachefs/fsck.c
fs/bcachefs/fsck.c
+1
-1
No files found.
fs/bcachefs/fsck.c
View file @
3b1425a4
...
@@ -1106,7 +1106,7 @@ static int check_inode(struct btree_trans *trans,
...
@@ -1106,7 +1106,7 @@ static int check_inode(struct btree_trans *trans,
if
(
ret
)
if
(
ret
)
goto
err
;
goto
err
;
}
else
{
}
else
{
if
(
fsck_err_on
(
bch2_inode_is_open
(
c
,
k
.
k
->
p
),
if
(
fsck_err_on
(
!
bch2_inode_is_open
(
c
,
k
.
k
->
p
),
trans
,
inode_unlinked_and_not_open
,
trans
,
inode_unlinked_and_not_open
,
"inode %llu%u unlinked and not open"
,
"inode %llu%u unlinked and not open"
,
u
.
bi_inum
,
u
.
bi_snapshot
))
{
u
.
bi_inum
,
u
.
bi_snapshot
))
{
...
...
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