OSDN Git Service

fs/zonefs: Use the enum req_op type for tracing request operations
authorBart Van Assche <bvanassche@acm.org>
Thu, 14 Jul 2022 18:07:29 +0000 (11:07 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 14 Jul 2022 18:14:33 +0000 (12:14 -0600)
commite46b5970496705127f9ae494c66e0242773097e8
tree25a730b1a4aa7adca726f2a7545aee30886cbe68
parentd03025aef8676e826b69f8e3ec9bb59a5ad0c31d
fs/zonefs: Use the enum req_op type for tracing request operations

Improve static type checking by using the enum req_op type for request
operations.

Reviewed-by: Johannes Thumshirn <jth@kernel.org>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Cc: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-64-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/zonefs/trace.h