[SCSI] scsi_lib: stricter checks for clearing use_10_for_rw
authorJens Axboe <axboe@suse.de>
Tue, 29 Nov 2005 20:03:34 +0000 (21:03 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Wed, 14 Dec 2005 01:11:11 +0000 (18:11 -0700)
commit26a68019c86e1d1782984a7a5babff762cde1501
tree7c08ae2870d2712d836bc226d0ca0f5e57de4e69
parent493ff4ee7f93a2b53ed60197e05aa145eec8f8f5
[SCSI] scsi_lib: stricter checks for clearing use_10_for_rw

Check the asc and ascq for being "invalid command opcode" as well.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c