diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-04-11 19:14:57 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-04-18 16:29:59 -0700 |
| commit | 0cd97a0372f21a66d1591114d0a12391e8d977d7 (patch) | |
| tree | 4b098fd4a51822169eeb5bc06f48c4f2a51442d2 /lib/mpi/mpi-sub-ui.c | |
| parent | fd45af53e220b2fe13a5e8db88c5e92bc3296754 (diff) | |
zram: don't return errors from read_from_bdev_async
bio_alloc will never return a NULL bio when it is allowed to sleep, and
adding a single page to bio with a single vector also can't fail, so
switch to the asserting __bio_add_page variant and drop the error returns.
Link: https://lkml.kernel.org/r/20230411171459.567614-16-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
