]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] arcmsr: fix write to device check
authorroel kluin <roel.kluin@gmail.com>
Sat, 1 Jan 2011 18:40:23 +0000 (19:40 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 3 Jan 2011 16:41:18 +0000 (10:41 -0600)
commitc32e061fa19893ce4acf95d97d5613a161f0f1b7
tree1d8e2d74cac95ffb8006d9a03593cc0a5900a4cd
parent474ffb74c75ea9845860ffb24cdc127eda0d5657
[SCSI] arcmsr: fix write to device check

Use command->sc_data_direction instead of trying (incorrectly) to
figure it out from the command itself

[jejb: fix up compile failure]
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: NickCheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/arcmsr/arcmsr_hba.c