atapi_qc_may_overflow9
Check whether data transfer may overflow
Usage
int atapi_qc_may_overflow(struct ata_queued_cmd * qc);
Arguments
qc
ATA command in question
Overview
ATAPI commands which transfer variable length data to host might overflow due to application error or hardare bug. This function checks whether overflow should be drained and ignored for qc.
Locking
None.
Returns
1 if qc may overflow; otherwise, 0.