zram: rename __zram_bvec_read to zram_read_page
authorChristoph Hellwig <hch@lst.de>
Tue, 11 Apr 2023 17:14:51 +0000 (19:14 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 18 Apr 2023 23:29:58 +0000 (16:29 -0700)
commitffb0a9e66562083cc0fb0a93d2de85cecd23a0e8
tree3851d344c236ca78dd5c8122103ec37ec1095e4c
parentf575a5add8a9a3ca593e58e218f2113e5bd3e50e
zram: rename __zram_bvec_read to zram_read_page

__zram_bvec_read doesn't get passed a bvec, but always read a whole page.
Rename it to make the usage more clear.

Link: https://lkml.kernel.org/r/20230411171459.567614-10-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>
drivers/block/zram/zram_drv.c