diff options
author | 2021-08-27 08:11:12 +0200 | |
---|---|---|
committer | 2021-09-06 09:59:03 +0200 | |
commit | ab7a2737ac5acd7d485ca45d8772497717fbc781 (patch) | |
tree | 0885bee4e8fedcdce6e32d6d3d66c853aa7d8bbd /scripts/bpf_doc.py | |
parent | nvmet: looks at the passthrough controller when initializing CAP (diff) | |
download | wireguard-linux-ab7a2737ac5acd7d485ca45d8772497717fbc781.tar.xz wireguard-linux-ab7a2737ac5acd7d485ca45d8772497717fbc781.zip |
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 <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions