Re: [PATCH 04/18] block: simplify blk_init_allocated_queue

From
Bart Van Assche <hidden>
Date
2017-01-26 23:27:33
Also in
dm-devel, linux-block, linux-scsi
Reply to
Christoph Hellwig, 2017-01-25
On Wed, 2017-01-25 at 18:25 +0100, Christoph Hellwig wrote:
Return an errno value instead of the passed in queue so that the callers
don't have to keep track of two queues, and move the assignment of the
request_fn and lock to the caller as passing them as argument doesn't
simplify anything.  While we're at it also remove two pointless NULL
assignments, given that the request structure is zeroed on allocation.
Reviewed-by: Bart Van Assche <redacted>
Thread (80 messages) 80 messages, 6 authors, last reply 2017-01-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help