]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/xfs_linux.h
fs/xfs: Use the enum req_op and blk_opf_t types
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:07:28 +0000 (11:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:33 +0000 (12:14 -0600)
commitd03025aef8676e826b69f8e3ec9bb59a5ad0c31d
treec7674afe6d16e814082275e47f3715cdc1fd823e
parent568e34ed7339e357f73c8e1ae5cc4f4595805357
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: Darrick J. Wong <djwong@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-63-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/xfs/xfs_bio_io.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_linux.h
fs/xfs/xfs_log_recover.c