diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-05-08 04:07:48 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-06-01 10:32:43 -0400 |
commit | 07e3842055c391e611dd907c81760f4c705f9acb (patch) | |
tree | 56005ced37b31c082fa984981a8073a241ff3839 /include/scsi/scsi_device.h | |
parent | c5f1ac8b94bd10f97f5aa1a3279ad8e8bbc6311a (diff) |
Move code that is used both by initiator and target drivers
Move the functions that are used by both the initiator and target
subsystems into scsi_common.c/.h. This change will allow to remove
the initiator SCSI header include directives from most SCSI target
source files in a later patch.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'include/scsi/scsi_device.h')
-rw-r--r-- | include/scsi/scsi_device.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index a4c9336811d1..ae84b2214d40 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
@@ -413,8 +413,6 @@ extern void scsi_target_reap(struct scsi_target *); | |||
413 | extern void scsi_target_block(struct device *); | 413 | extern void scsi_target_block(struct device *); |
414 | extern void scsi_target_unblock(struct device *, enum scsi_device_state); | 414 | extern void scsi_target_unblock(struct device *, enum scsi_device_state); |
415 | extern void scsi_remove_target(struct device *); | 415 | extern void scsi_remove_target(struct device *); |
416 | extern void int_to_scsilun(u64, struct scsi_lun *); | ||
417 | extern u64 scsilun_to_int(struct scsi_lun *); | ||
418 | extern const char *scsi_device_state_name(enum scsi_device_state); | 416 | extern const char *scsi_device_state_name(enum scsi_device_state); |
419 | extern int scsi_is_sdev_device(const struct device *); | 417 | extern int scsi_is_sdev_device(const struct device *); |
420 | extern int scsi_is_target_device(const struct device *); | 418 | extern int scsi_is_target_device(const struct device *); |