]> git.sesse.net Git - bcachefs-tools-debian/commit
Better bio_alloc_bioset()
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 21 Mar 2022 21:59:13 +0000 (17:59 -0400)
committerKent Overstreet <kent.overstreet@gmail.com>
Mon, 21 Mar 2022 22:21:31 +0000 (18:21 -0400)
commit205d75307a7c71f3807c8aa74405cd7267a40e4b
tree543393e689a19e40c8bfb02bc528a0358d54988b
parentb2a9318aa86edfe267805890c5ff1511caa59e70
Better bio_alloc_bioset()

bio_alloc_bioset() now uses mempools, so we don't segfault on memory
allocation failure.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
include/linux/bio.h
include/linux/blk_types.h
linux/bio.c