]> err.no Git - linux-2.6/commit
[SCSI] bsg: copy the cmd_type field to the subordinate request for bidi
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jan 2008 02:05:55 +0000 (20:05 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 30 Jan 2008 19:14:26 +0000 (13:14 -0600)
commit40f620286dd08e29c995ca631f45e8d03f4fe1be
tree9bdfd55ad3a149bdcb1ede9bf452f32118214aea
parent3d9dd6eef888658d26ebea0cc24d15d2a93ab015
[SCSI] bsg: copy the cmd_type field to the subordinate request for bidi

This fixes a problem in SCSI where we use the (previously
uninitialised) cmd_type via blk_pc_request() to set up the transfer in
scsi_init_sgtable().

Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
block/bsg.c