linux/drivers/block/zram
Luis Chamberlain 5e2e1cc413 zram: add error handling support for add_disk()
We never checked for errors on add_disk() as this function
returned void. Now that this is fixed, use the shiny new
error handling.

Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Link: https://lore.kernel.org/r/20211015235219.2191207-9-mcgrof@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-10-30 11:03:37 -06:00
..
Kconfig zram: break the strict dependency from lzo 2020-12-15 12:13:47 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
zcomp.c zram: break the strict dependency from lzo 2020-12-15 12:13:47 -08:00
zcomp.h zram: Use local lock to protect per-CPU data 2020-05-28 10:31:10 +02:00
zram_drv.c zram: add error handling support for add_disk() 2021-10-30 11:03:37 -06:00
zram_drv.h Merge branch 'akpm' (patches from Andrew) 2021-07-02 12:08:10 -07:00