[SCSI] qla4xxx: use iscsi class session state check ready
commit7fb1921b07a83f71a77f806a2a7d2dd721ea641b
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Jan 2008 19:36:45 +0000 (31 13:36 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:35 +0000 (7 18:02 -0600)
treeac816e46dc1c15e115d06cfe728cd1444b13fbe8
parentb635930de91be0a217292e3fe381af273e5ffaf7
[SCSI] qla4xxx: use iscsi class session state check ready

This has qla4xxx use the iscsi class's check ready function
in the queue command function, so all iscsi drivers return the
same error value for common problems.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: David Somayajulu <david.somayajulu@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla4xxx/ql4_os.c