linux-stable/drivers/block/zram
Christoph Hellwig 1e9460d132 zram: return errors from read_from_bdev_sync
Propagate read errors to the caller instead of dropping them on the floor,
and stop returning the somewhat dangerous 1 on success from
read_from_bdev*.

Link: https://lkml.kernel.org/r/20230411171459.567614-18-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Acked-by: Minchan Kim <minchan@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-04-18 16:30:00 -07:00
..
Kconfig zram: introduce recompress sysfs knob 2022-11-30 15:58:51 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
zcomp.c zram: preparation for multi-zcomp support 2022-11-30 15:58:51 -08:00
zcomp.h zram: preparation for multi-zcomp support 2022-11-30 15:58:51 -08:00
zram_drv.c zram: return errors from read_from_bdev_sync 2023-04-18 16:30:00 -07:00
zram_drv.h zram: remove valid_io_request 2023-04-18 16:29:56 -07:00