[SCSI] fix incorrect value of SCSI_MAX_SG_CHAIN_SEGMENTS due to include file ordering
authorDavid Dillow <dillowda@ornl.gov>
Sun, 16 Jan 2011 20:12:39 +0000 (15:12 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:49:34 +0000 (11:49 -0600)
If the compiled object doesn't include linux/scatterlist.h before
scsi/scsi.h, it will get an incorrect definition of
SCSI_MAX_SG_CHAIN_SEGMENTS.

Signed-off-by: David Dillow <dillowda@ornl.gov>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
include/scsi/scsi.h

index 648d233..b76d400 100644 (file)
@@ -9,6 +9,7 @@
 #define _SCSI_SCSI_H
 
 #include <linux/types.h>
+#include <linux/scatterlist.h>
 
 struct scsi_cmnd;