]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a1237a24b35342c66df33a95e077f496e8e5b91
treec7674afe6d16e814082275e47f3715cdc1fd823e
parentbe403af4511d4c0a58b5794ab680f23e2dba3add
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