]> 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)
commit55b55a813c29f15f5feac7357ba3a54d3624fb3a
treefcc9266f873075df6bf8371afa768645f246fc10
parentafce0808a00a74c70f10b471aa63cae1b30bd505
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