]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Ignore empty btree root journal entries
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 27 Nov 2024 06:03:41 +0000 (01:03 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:20 +0000 (01:36 -0500)
commitc7e78f7b01786d0d06bde8548e88822ff57c4b4f
tree75fbfbbcc82b135eacad7bc5263195e3ea56d622
parent90f3683e8f7c9eba516b65c47865fa3a5c08c6fc
bcachefs: Ignore empty btree root journal entries

There's no reason to treat them as errors: just ignore them, and go with
a previous btree root if we had one.

Reported-by: syzbot+e22007d6acb9c87c2362@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/recovery.c