[SCSI] scsi_transport_iscsi: add list, mutex includes
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Tue, 2 Oct 2007 21:38:05 +0000 (14:38 -0700)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:54:38 +0000 (14:54 -0400)
scsi/scsi_transport_iscsi.h uses struct mutex and struct list_head,
so while linux/mutex.h and linux/list.h seem to be pulled in indirectly
by one of the headers it includes, the right thing
is to include linux/mutex.h and linus/list.h directly.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
include/scsi/scsi_transport_iscsi.h

index 706c0cd36c14ffcfc69339ac8dc57544470d5928..7ff6199cbd55bef57c55b58b8c5a58f20a5d115a 100644 (file)
@@ -24,6 +24,8 @@
 #define SCSI_TRANSPORT_ISCSI_H
 
 #include <linux/device.h>
+#include <linux/list.h>
+#include <linux/mutex.h>
 #include <scsi/iscsi_if.h>
 
 struct scsi_transport_template;