bcachefs: Fix shift overflow in btree_lost_data()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 19 May 2024 21:08:15 +0000 (17:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 20 May 2024 09:37:26 +0000 (05:37 -0400)
commitf108ddd467b5cad84a6d93cdd0a251ba47ceaccb
tree36562cd2ce0b1b5af3bb10bb7fbfa1202417060d
parent9667214b30ef19c1cbead7893257619bca4d0d4d
bcachefs: Fix shift overflow in btree_lost_data()

Reported-by: syzbot+29f65db1a5fe427b5c56@syzkaller.appspotmail.com
Fixes: 55936afe1107 ("bcachefs: Flag btrees with missing data")
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs_format.h
fs/bcachefs/recovery.c