linux/drivers/block/null_blk
Chaitanya Kulkarni df00b1d26c null_blk: null_alloc_page() cleanup
Remove goto labels and use direct returns as error unwinding code only
needs to free t_page variable if we alloc_pages() call fails as having
two labels for one kfree() can be avoided easily.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220222152852.26043-3-kch@nvidia.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-02-27 14:49:49 -07:00
..
Kconfig
main.c null_blk: null_alloc_page() cleanup 2022-02-27 14:49:49 -07:00
Makefile
null_blk.h null_blk: Fix handling of submit_queues and poll_queues attributes 2021-10-29 06:55:39 -06:00
trace.c
trace.h block: remove the ->rq_disk field in struct request 2021-11-29 06:41:29 -07:00
zoned.c drivers/block/null_blk/main: Fix a double free in null_init. 2021-04-26 09:04:40 -06:00