[PATCH v2 1/2] block/xen-blkfront: Introduce blkif_ring_get_request

2015-10-19 Thread Julien Grall
The code to get a request is always the same. Therefore we can factorize it in a single function. Signed-off-by: Julien Grall Acked-by: Roger Pau Monné --- Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: David Vrabel Changes in v2: - Add Royger's acked-by ---

[PATCH v2 1/2] block/xen-blkfront: Introduce blkif_ring_get_request

2015-10-19 Thread Julien Grall
The code to get a request is always the same. Therefore we can factorize it in a single function. Signed-off-by: Julien Grall Acked-by: Roger Pau Monné --- Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky