block: convert features and flags to __bitwise types
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2024 14:26:25 +0000 (16:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 26 Jun 2024 15:37:35 +0000 (09:37 -0600)
commitfcf865e357f80285af12c0c9a49f89d71acb7f4b
treef364887383ff136f0c77cd1bd87905fab0b7c73e
parentec9b1cf0b0ebfb52274971a8a0e74e0a133f64fb
block: convert features and flags to __bitwise types

... and let sparse help us catch mismatches or abuses.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240626142637.300624-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c
include/linux/blkdev.h