summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>2007-10-02 14:38:05 -0700
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:54:38 -0400
commitd773c082da27c445c832324cfb4a357498613a38 (patch)
treef9ce04aeb0374e8d422ca573bac5e8c1878d4605
parentf01f9d59433dd9d244664c19771e078a194e7984 (diff)
downloadop-kernel-dev-d773c082da27c445c832324cfb4a357498613a38.zip
op-kernel-dev-d773c082da27c445c832324cfb4a357498613a38.tar.gz
[SCSI] scsi_transport_iscsi: add list, mutex includes
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>
-rw-r--r--include/scsi/scsi_transport_iscsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index 706c0cd..7ff6199 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -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;
OpenPOWER on IntegriCloud