summaryrefslogtreecommitdiff
path: root/include/uapi/linux/blktrace_api.h
diff options
context:
space:
mode:
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>2025-10-22 13:41:03 +0200
committerJens Axboe <axboe@kernel.dk>2025-10-22 11:14:05 -0600
commit70e3c62b891281b94b9d449a381e033ce592acc8 (patch)
treee91d453788d54e85a241e706e9aa5363fb6cd3c1 /include/uapi/linux/blktrace_api.h
parent04678e72e95f4165d58442b3ed108e06605984df (diff)
blktrace: untangle if/else sequence in __blk_add_trace
Untangle the if/else sequence setting the trace action in __blk_add_trace() and turn it into a switch statement for better extensibility. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/blktrace_api.h')
0 files changed, 0 insertions, 0 deletions