projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abaa6d4
)
bcachefs: Fix bch2_inode_is_open() check
author
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 3 Oct 2024 01:31:31 +0000
(21:31 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 3 Oct 2024 01:31:31 +0000
(21:31 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fsck.c
b/fs/bcachefs/fsck.c
index c6c98ee87ec91fc75605dfa30d6defcb73e7f980..351de61c7ed120cdd76bf29a2b9e6d027061a606 100644
(file)
--- a/
fs/bcachefs/fsck.c
+++ b/
fs/bcachefs/fsck.c
@@
-1106,7
+1106,7
@@
static int check_inode(struct btree_trans *trans,
if (ret)
goto err;
} 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,
"inode %llu%u unlinked and not open",
u.bi_inum, u.bi_snapshot)) {