scsi_transport_fc_internal.h 584 B

123456789101112131415161718192021222324252627
  1. #include <scsi/scsi_tgt.h>
  2. #ifdef CONFIG_SCSI_FC_TGT_ATTRS
  3. static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
  4. char *initiator)
  5. {
  6. return scsi_tgt_it_nexus_create(shost, itn_id, initiator);
  7. }
  8. static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
  9. {
  10. return scsi_tgt_it_nexus_destroy(shost, itn_id);
  11. }
  12. #else
  13. static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
  14. char *initiator)
  15. {
  16. return 0;
  17. }
  18. static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
  19. {
  20. return 0;
  21. }
  22. #endif