projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f49d2c9
)
bcachefs: Fix missing error check in journal_entry_btree_keys_validate()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 5 Jul 2024 01:18:06 +0000
(21:18 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Wed, 10 Jul 2024 13:53:39 +0000
(09:53 -0400)
Closes: https://syzkaller.appspot.com/bug?extid=
8996d8f176cf946ef641
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/journal_io.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/journal_io.c
b/fs/bcachefs/journal_io.c
index
f17c478
..
2326e2c
100644
(file)
--- a/
fs/bcachefs/journal_io.c
+++ b/
fs/bcachefs/journal_io.c
@@
-415,6
+415,8
@@
static int journal_entry_btree_keys_validate(struct bch_fs *c,
flags|BCH_VALIDATE_journal);
if (ret == FSCK_DELETED_KEY)
continue;
+ else if (ret)
+ return ret;
k = bkey_next(k);
}