]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: Fix assertion pop in bch2_ptr_swab()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 11 Nov 2024 21:15:15 +0000 (16:15 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 12 Nov 2024 08:46:57 +0000 (03:46 -0500)
commit840c2fbcc5cd33ba8fab180f09da0bb7f354ea71
tree09111a79372c21915bcb3083be6d7da0ec718352
parent657d4282d8c4ac2349472529c9a6f20c503d1aee
bcachefs: Fix assertion pop in bch2_ptr_swab()

This runs on extents that haven't yet been validated, so we don't want
to assert that we have a valid entry type.

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