-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 68806 b: refs/heads/master c: 0012fdf h: refs/heads/master v: v3
- Loading branch information
FUJITA Tomonori
authored and
James Bottomley
committed
Oct 12, 2007
1 parent
3bb05c7
commit 17e229b
Showing
4 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e9906fe8c6e8d004635753b7c4189692df281b70 | ||
refs/heads/master: 0012fdf986c9b9c7fe8d0842a0ad8dd981a06c06 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#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 |