add includes to scsi_transport_iscsi.h
PATCH 9/17 add includes to scsi_transport_iscsi.h
From: "Michael S. Tsirkin" <[email protected]>
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 <[email protected]>
Acked-by Mike Christie <[email protected]>
Cc Roland Dreier <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/scsi/scsi_transport_iscsi.h | 2 ++ 1 file changed, 2 insertions(+)
include/scsi/scsi_transport_iscsi.h renamed from include/scsi/scsi_transport_iscsi.h~add-includes-to-scsi_transport_iscsih +2 -0
@@ -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 ;
_