Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit d03025ae authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe
Browse files

fs/xfs: Use the enum req_op and blk_opf_t types


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 the
combination of a request operation with request flags.

Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-63-bvanassche@acm.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 568e34ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment