You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
590 B
26 lines
590 B
18 years ago
|
#include <scsi/scsi_tgt.h>
|
||
|
|
||
|
#ifdef CONFIG_SCSI_SRP_TGT_ATTRS
|
||
|
static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
|
||
|
char *initiator)
|
||
|
{
|
||
|
return scsi_tgt_it_nexus_create(shost, itn_id, initiator);
|
||
|
}
|
||
|
|
||
|
static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
|
||
|
{
|
||
|
return scsi_tgt_it_nexus_destroy(shost, itn_id);
|
||
|
}
|
||
|
|
||
|
#else
|
||
|
static inline int srp_tgt_it_nexus_create(struct Scsi_Host *shost, u64 itn_id,
|
||
|
char *initiator)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
static inline int srp_tgt_it_nexus_destroy(struct Scsi_Host *shost, u64 itn_id)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
#endif
|