summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-11 19:14:59 +0200
committerAndrew Morton <akpm@linux-foundation.org>2023-04-18 16:30:00 -0700
commit1e9460d132cc728941621f0f7a7b03a7d1c469af (patch)
tree91287509c3e551c893f8b1a228f2507300a17993 /lib/mpi/mpi-sub-ui.c
parent4e3c87b9421df497d849ae61aab9762de7f66afb (diff)
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>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions