forked from Minki/linux
dm/zone: Use the enum req_op type
Use the enum req_op type for request operations instead of unsigned int. This patch fixes a sparse warning that has been introduced by making enum req_op __bitwise. Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20220714180729.1065367-30-bvanassche@acm.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
6b99013957
commit
8a5a7ce877
@ -359,7 +359,7 @@ static int dm_update_zone_wp_offset(struct mapped_device *md, unsigned int zno,
|
||||
}
|
||||
|
||||
struct orig_bio_details {
|
||||
unsigned int op;
|
||||
enum req_op op;
|
||||
unsigned int nr_sectors;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user