dm-snap: Combine request operation type and flags
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:06:54 +0000 (11:06 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:31 +0000 (12:14 -0600)
commit6b9901395702c34c3ef0fe63573fcf69192244ea
tree1ab0152dbd77af7e1fdbd2f618f10821725d7a78
parentc1389b33332ee09e8981a21a8abb812d93ca253f
dm-snap: Combine request operation type and flags

Pass the request operation and its flags as a single argument to improve
kernel code uniformity.

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