1. NAME

__blk_end_request_cur - Helper function to finish the current request chunk.

2. SYNOPSIS

bool __blk_end_request_cur(struct request *  rq , int  error );

3. ARGUMENTS

rq
    the request to finish the current chunk for

error
     0 for success, < 0 for error

4. DESCRIPTION

Complete the current consecutively mapped chunk from rq. Must be called with queue lock held.

5. RETURN

false - we are done with this request true - still buffers pending for this request

6. COPYRIGHT