[dm-devel] [PATCH 04/18] block: simplify blk_init_allocated_queue

Martin K. Petersen martin.petersen at oracle.com
Thu Jan 26 03:02:54 UTC 2017


>>>>> "Christoph" == Christoph Hellwig <hch at lst.de> writes:

Christoph> Return an errno value instead of the passed in queue so that
Christoph> the callers don't have to keep track of two queues, and move
Christoph> the assignment of the request_fn and lock to the caller as
Christoph> passing them as argument doesn't simplify anything.  While
Christoph> we're at it also remove two pointless NULL assignments, given
Christoph> that the request structure is zeroed on allocation.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering




More information about the dm-devel mailing list