diff options
| author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2026-03-17 06:23:19 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 23:53:30 +0300 |
| commit | cba82993308dc66403c5c3dd27712a58e6fe3aa8 (patch) | |
| tree | 43f4e94036bc122300af0e484d92e91ec3baf1c0 /include/linux | |
| parent | 4bdbddb4e482f283b60787b97fc06b3da3fb419c (diff) | |
| download | linux-cba82993308dc66403c5c3dd27712a58e6fe3aa8.tar.xz | |
zram: change scan_slots to return void
scan_slots_for_writeback() and scan_slots_for_recompress() work in a "best
effort" fashion, if they cannot allocate memory for a new pp-slot
candidate they just return and post-processing selects slots that were
successfully scanned thus far. scan_slots functions never return errors
and their callers never check the return status, so convert them to return
void.
Link: https://lkml.kernel.org/r/20260317032349.753645-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: SeongJae Park <sj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
