]> git.baikalelectronics.ru Git - kernel.git/commit
block/rnbd: Use blk_opf_t where appropriate
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:42 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commit36f9a406a9d9dddc87b5fe8d70202201cca3ecfb
tree3541fbdfb1c71869b5a746f1f41ff6a687b9116b
parentc5004afe2d3b97c6a65ebfbc9d13484e84cfeeaa
block/rnbd: Use blk_opf_t where appropriate

Improve static type checking by using the new blk_opf_t type to represent
the combination of a request and request flags.

Acked-by: Jack Wang <jinpu.wang@ionos.com>
Cc: Md. Haris Iqbal <haris.iqbal@ionos.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-17-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-proto.h