All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH trivial] include linux/mutex.h from scsi_transport_iscsi.h
@ 2007-07-25 11:09 Michael S. Tsirkin
  2007-07-25 18:52   ` Mike Christie
  2007-07-26  8:42 ` [PATCH trivial v2] add includes to scsi_transport_iscsi.h Michael S. Tsirkin
  0 siblings, 2 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2007-07-25 11:09 UTC (permalink / raw)
  To: James Bottomley, Andrew Morton, linux-scsi, Mike Christie,
	Roland Dreier, Linux Kernel Mailing List, general

scsi/scsi_transport_iscsi.h uses struct mutex, so while
linux/mutex.h seems to be pulled in indirectly
by one of the headers it includes, the right thing
is to include linux/mutex.h directly.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>

---

diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index 706c0cd..7530e98 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -24,6 +24,7 @@
 #define SCSI_TRANSPORT_ISCSI_H
 
 #include <linux/device.h>
+#include <linux/mutex.h>
 #include <scsi/iscsi_if.h>
 
 struct scsi_transport_template;


-- 
MST

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-07-26  8:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25 11:09 [PATCH trivial] include linux/mutex.h from scsi_transport_iscsi.h Michael S. Tsirkin
2007-07-25 18:52 ` [ofa-general] " Mike Christie
2007-07-25 18:52   ` Mike Christie
2007-07-25 19:12   ` [ofa-general] " Michael S. Tsirkin
2007-07-25 19:12     ` Michael S. Tsirkin
2007-07-26  8:42 ` [PATCH trivial v2] add includes to scsi_transport_iscsi.h Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.