firewire: core: fw_iso_resource_manage: return -EBUSY when out of resources
[linux/fpc-iii.git] / drivers / scsi / scsi_transport_fc_internal.h
blobe7bfbe751c1f768979180cfc46bd8eb34215769f
1 #include <scsi/scsi_tgt.h>
3 #ifdef CONFIG_SCSI_FC_TGT_ATTRS
4 static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
5 char *initiator)
7 return scsi_tgt_it_nexus_create(shost, itn_id, initiator);
10 static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
12 return scsi_tgt_it_nexus_destroy(shost, itn_id);
14 #else
15 static inline int fc_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
16 char *initiator)
18 return 0;
21 static inline int fc_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
23 return 0;
26 #endif