summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/dimm.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-27 08:11:12 +0200
committerChristoph Hellwig <hch@lst.de>2021-09-06 09:59:03 +0200
commitab7a2737ac5acd7d485ca45d8772497717fbc781 (patch)
tree0885bee4e8fedcdce6e32d6d3d66c853aa7d8bbd /drivers/nvdimm/dimm.c
parent77d651a65569a5e60f314b768500e94fcb936311 (diff)
downloadlinux-ab7a2737ac5acd7d485ca45d8772497717fbc781.tar.bz2
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 'drivers/nvdimm/dimm.c')
0 files changed, 0 insertions, 0 deletions