block/zram: Use enum req_op where appropriate
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:44 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commitbc0421ea44b82d2108bcf79e020498c5ff0000af
tree12339042f28b4b63749a3246d7c2cb1d1fa71873
parent6c5412e268340e0d98eade4571658bacb4652176
block/zram: Use enum req_op where appropriate

Improve static type checking by using the enum req_op type where
appropriate.

Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-19-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/zram/zram_drv.c