__blk_end_request_cur
Prev | Chapter 14. Block Devices | Next

## Name

__blk_end_request_cur — Helper function to finish the current request chunk.

## Synopsis

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

## Arguments

`rq`

  the request to finish the current chunk for

`error`

  `0` for success, < `0` for error

## Description

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

## Return

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

Prev | Up | Next
__blk_end_request_all | Home | __blk_end_request_err