iomap: use an unsigned type for IOMAP_DIO_* defines xfs-async-dio.5 xfs-async-dio
authorJens Axboe <axboe@kernel.dk>
Fri, 21 Jul 2023 16:03:25 +0000 (10:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Jul 2023 16:34:42 +0000 (10:34 -0600)
commit901a0c0e4248aa7e3ab4dce9a8c67c47215e6ccc
tree486d684ee0f40004891ca1909ab35a0476cf338a
parent20e869e469459a5653aa45245e10d4f279546a4b
iomap: use an unsigned type for IOMAP_DIO_* defines

IOMAP_DIO_DIRTY shifts by 31 bits, which makes UBSAN unhappy. Clean up
all the defines by making the shifted value an unsigned value.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reported-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c