• Patrick Mansfield's avatar
    [PATCH] don't set underflow for REQ_BLOCK_PC · ee99c100
    Patrick Mansfield authored
    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.
    ee99c100
sr.c 22.4 KB