NAME
atapi_qc_may_overflow - Check whether data transfer may overflow
SYNOPSIS
int atapi_qc_may_overflow(struct ata_queued_cmd * qc);
ARGUMENTS
qc
ATA command in question
DESCRIPTION
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.
AUTHOR
Jeff Garzik
-
Author.