Provided by:
linux-doc-2.6.15_2.6.15-23.39_all 
NAME
blk_complete_barrier_rq - complete possible barrier request
SYNOPSIS
int blk_complete_barrier_rq (request_queue_t * q, struct request * rq,
int sectors);
ARGUMENTS
q the request queue for the device
rq the request
sectors
number of sectors to complete
DESCRIPTION
Used in driver end_io handling to determine whether to postpone
completion of a barrier request until a post flush has been done. This
is the unlocked variant, used if the caller doesn’t already hold the
queue lock.