]> git.baikalelectronics.ru Git - kernel.git/commit
dm/dm-zoned: Use the enum req_op type
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:56 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commitf3e6959d84eedc23d5adab7a86361737b1739bb6
treefcc9266f873075df6bf8371afa768645f246fc10
parente00dbc6614de59790115668c72678b1e49816aab
dm/dm-zoned: Use the enum req_op type

Improve static type checking by using the enum req_op type for arguments
that represent a request operation.

Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Alasdair Kergon <agk@redhat.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-31-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-zoned-metadata.c
drivers/md/dm-zoned.h