diff options
| author | Christoph Hellwig <[email protected]> | 2023-04-11 19:14:57 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:59 -0700 |
| commit | 0cd97a0372f21a66d1591114d0a12391e8d977d7 (patch) | |
| tree | 4b098fd4a51822169eeb5bc06f48c4f2a51442d2 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| 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/[email protected]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Jens Axboe <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions