/* Functions related to setting various queue properties from drivers for max sense size blk_end_sync_rq - executes a completion event on a request @rq: request to complete @error: end I/O status of the request  */
static void blk_end_sync_rq(struct request *rq, int error)
/* Functions related to setting various queue properties from drivers for max sense size blk_end_sync_rq - executes a completion event on a request @rq: request to complete @error: end I/O status of the request  */
static void blk_end_sync_rq(struct request *rq, int error)
{
	struct completion *waiting = rq->end_io_data;
	rq->end_io_data = NULL;
	__blk_put_request(rq->q, rq);
	complete(waiting);
}