diff options
author | Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> | 2015-11-03 16:26:07 -0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-09 19:31:01 -0500 |
commit | 4f92d01a642d27716f60cdab0fd3c527fb7cfb0f (patch) | |
tree | 20ca6db4fb8ef5fc9bb16d82ccba849f2a02fa49 /drivers/scsi/ipr.h | |
parent | f41f1d994e0e2e0fab29c6f3f9c77350f1769166 (diff) |
ipr: Don't set NO_ULEN_CHK bit when resource is a vset.
According to the IPR specification, Inhibit Underlength Checking bit
must be disabled when issuing commands to vsets. Enabling it in this
case might cause SCSI commands to fail with an Illegal Request, so make
sure we keep this bit cleared when resource is a vset.
Signed-off-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com>
Reviewed-by: Manoj Kumar <manoj@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions