Skip to content

Commit

Permalink
[SCSI] scsi_transport_iscsi: add list, mutex includes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin authored and James Bottomley committed Oct 12, 2007
1 parent f01f9d5 commit d773c08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/scsi/scsi_transport_iscsi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d773c08

Please sign in to comment.