bcachefs: Don't allocate too-big bios
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 13 Oct 2021 17:45:46 +0000 (13:45 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:13 +0000 (17:09 -0400)
commitedeb986b017e9489add4daa7e61bc79cdbfb913c
treee83472df96bab8579fda0f75e3b0eade5e234eb0
parentb9a7d8ac5f6d66619de8a4e37b23574d1ca107cf
bcachefs: Don't allocate too-big bios

This fixes a null ptr deref in bio_alloc_bioset() -> biovec_slab()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/io.c