1. NAME▲

atapi_drain_needed - Check whether data transfer may overflow

2. SYNOPSIS ▲

int atapi_drain_needed(struct request *  rq );

3. ARGUMENTS ▲

rq
    request to be checked

4. 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 request.

5. LOCKING ▲

None.

6. RETURNS ▲

1 if ; otherwise, 0.

7. AUTHOR ▲

Jeff Garzik
    Author.

8. COPYRIGHT ▲