blk_end_request — Helper function for drivers to complete the request.
boolblk_end_request( | struct request *rq, |
| interror, | |
unsigned intnr_bytes); |
struct request * rqthe request being processed
int error0 for success, <0 for error
unsigned int nr_bytesnumber of bytes to complete