[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)
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>

No differences found