and move a comment on scsi_target<->scsi_device relationship to a more
appropriate place.

Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 include/scsi/scsi_device.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Index: linux/include/scsi/scsi_device.h
===================================================================
--- linux.orig/include/scsi/scsi_device.h
+++ linux/include/scsi/scsi_device.h
@@ -84,7 +84,7 @@ struct scsi_device {
        const char * model;             /* ... after scan; point to static 
string */
        const char * rev;               /* ... "nullnullnullnull" before scan */
        unsigned char current_tag;      /* current tag */
-       struct scsi_target      *sdev_target;   /* used only for single_lun */
+       struct scsi_target      *sdev_target;
 
        unsigned int    sdev_bflags; /* black/white flags as also found in
                                 * scsi_devinfo.[hc]. For now used only to
@@ -168,12 +168,12 @@ enum scsi_target_state {
 };
 
 /*
- * scsi_target: representation of a scsi target, for now, this is only
- * used for single_lun devices. If no one has active IO to the target,
- * starget_sdev_user is NULL, else it points to the active sdev.
+ * scsi_target: representation of a scsi target
  */
 struct scsi_target {
-       struct scsi_device      *starget_sdev_user;
+       struct scsi_device      *starget_sdev_user;  /* For now, this is only
+        * used for single_lun devices. If no one has active IO to the target,
+        * starget_sdev_user is NULL, else it points to the active sdev. */
        struct list_head        siblings;
        struct list_head        devices;
        struct device           dev;

-- 
Stefan Richter
-=====-=-=== -==- ==-==
http://arcgraph.de/sr/

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to