xen-blkfront: Introduce blkif_ring_get_request
authorJulien Grall <julien.grall@citrix.com>
Thu, 13 Aug 2015 18:23:10 +0000 (19:23 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Jan 2016 17:21:24 +0000 (12:21 -0500)
commit2e073969d57f60fc0b863985779657624cbd4886
tree49964e6c600fcab04fa359b7a9ee238e8363b253
parenta6e7af1288eeb7fca8361356998d31a92a291531
xen-blkfront: Introduce blkif_ring_get_request

The code to get a request is always the same. Therefore we can factorize
it in a single function.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c