]> git.baikalelectronics.ru Git - kernel.git/commit
dm/dm-integrity: Combine request operation and flags
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:52 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commit9aaa2758bc3b201ef268c38738abb3ed0313abd4
tree2d3e5802d21ffb7654a07c5b5bd0f4d488cbec53
parent3b5066d1bc2429eb9debf222aac2138ad10531bb
dm/dm-integrity: Combine request operation and flags

Combine the request operation type and request flags into a single
argument. Improve static type checking by using the enum req_op type for
variables that represent a request operation and the new blk_opf_t type for
variables that represent request flags.

Cc: Alasdair Kergon <agk@redhat.com>
Cc: Mike Snitzer <snitzer@kernel.org>
Cc: Eric Biggers <ebiggers@google.com>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-27-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-integrity.c