Commit e46b5970 authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe

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: default avatarJohannes Thumshirn <jth@kernel.org>
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Cc: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20220714180729.1065367-64-bvanassche@acm.orgSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d03025ae
...@@ -25,7 +25,7 @@ TRACE_EVENT(zonefs_zone_mgmt, ...@@ -25,7 +25,7 @@ TRACE_EVENT(zonefs_zone_mgmt,
TP_STRUCT__entry( TP_STRUCT__entry(
__field(dev_t, dev) __field(dev_t, dev)
__field(ino_t, ino) __field(ino_t, ino)
__field(int, op) __field(enum req_op, op)
__field(sector_t, sector) __field(sector_t, sector)
__field(sector_t, nr_sectors) __field(sector_t, nr_sectors)
), ),
......
Markdown is supported
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