diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-02-15 16:32:48 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-18 13:31:19 -0500 |
commit | 9e0fc764eaec082cd2ffcf82568dfdd086935934 (patch) | |
tree | 85a9a3829b8e0ed285e989beb074a9c466574091 /drivers/scsi/hpsa_cmd.h | |
parent | 5767a1c498931417e69e663ddd5e110cbaabec32 (diff) |
[SCSI] hpsa: do not re-order commands in internal queues
Driver's internal queues should be FIFO, not LIFO.
This is a port of an almost identical patch from cciss by Jens Axboe.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
-rw-r--r-- | drivers/scsi/hpsa_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h index 7910c1411156..785abdd0333c 100644 --- a/drivers/scsi/hpsa_cmd.h +++ b/drivers/scsi/hpsa_cmd.h | |||
@@ -292,7 +292,7 @@ struct CommandList { | |||
292 | struct ctlr_info *h; | 292 | struct ctlr_info *h; |
293 | int cmd_type; | 293 | int cmd_type; |
294 | long cmdindex; | 294 | long cmdindex; |
295 | struct hlist_node list; | 295 | struct list_head list; |
296 | struct request *rq; | 296 | struct request *rq; |
297 | struct completion *waiting; | 297 | struct completion *waiting; |
298 | void *scsi_cmd; | 298 | void *scsi_cmd; |