aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-08-27 08:11:12 +0200
committerChristoph Hellwig <[email protected]>2021-09-06 09:59:03 +0200
commitab7a2737ac5acd7d485ca45d8772497717fbc781 (patch)
tree0885bee4e8fedcdce6e32d6d3d66c853aa7d8bbd /tools/perf/util/trace-event-scripting.c
parent77d651a65569a5e60f314b768500e94fcb936311 (diff)
nvmet: return bool from nvmet_passthru_ctrl and nvmet_is_passthru_req
The target core code never needs the host-side nvme_ctrl structure. Open code two uses of nvmet_is_passthru_req in passthru.c, and then switch the helpers used by the core to return bool. Also rename the fuctions to better match their usage: nvmet_passthru_ctrl -> nvmet_is_passthru_subsys nvmet_req_passthru_ctrl -> nvmet_is_passthru_req Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions