.TH "blk_cleanup_queue" 9 "blk_cleanup_queue" "25 May 1998" "Kernel Hacker's Manual" LINUX .SH NAME blk_cleanup_queue \- release a &request_queue_t when it is no longer needed .SH SYNOPSIS .B "void" blk_cleanup_queue .BI "(request_queue_t *" q ");" .SH ARGUMENTS .IP "q" 12 the request queue to be released .SH "DESCRIPTION" blk_cleanup_queue is the pair to \fBblk_init_queue\fP. It should be called when a request queue is being released; typically when a block device is being de-registered. Currently, its primary task it to free all the \fBstruct\fP request structures that were allocated to the queue. .SH "CAVEAT" Hopefully the low level driver will have finished any outstanding requests first...