[PATCH] don't set underflow for REQ_BLOCK_PC
I got underflow warnings and failures when sending an INQUIRY page 0x83 via the SG_IO REQ_BLOCK_PC interface. The underflow field should only be set if we know for certain the size of the data being transfered, so fix this by leaving it at zero for scsi REQ_BLOCK_PC cases.
Showing
Please register or sign in to comment