[SCSI] qla2xxx: Set the task attributes after memsetting fcp cmnd.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Tue, 16 Aug 2011 18:29:29 +0000 (11:29 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:22:09 +0000 (08:22 -0600)
commit51cc9a8e5f610a0d0881b45410c37890e02a2f76
tree3824570785da64af774d7e438a11d065b5ab9f9c
parent58b48576966ed0afd3f63ef17480ec12748a7119
[SCSI] qla2xxx: Set the task attributes after memsetting fcp cmnd.

The memset of the fcp_cmnd struct needs to be moved so that it will not
zero-out valid data.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_nx.c