Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 29e8c3c304b62f31b799565c9ee85d42bd163f80 authored by Linus Torvalds on 05 March 2008, 04:33:54 UTC
Linux 2.6.25-rc4
Tip revision: 29e8c3c
scsi_transport_srp_internal.h
#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
back to top