rbd: factor out __rbd_osd_req_create()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 25 Jan 2017 17:16:23 +0000 (18:16 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:15 +0000 (12:16 +0100)
commitbc81207ea9fc01896cbc102f025f1ebb2c4bae1d
tree36eae11bd2c62b09a043bbe8f8879465994137a9
parent67e2b65274e3c5fc9100544c1f90adcc85dbe597
rbd: factor out __rbd_osd_req_create()

Factor OSD request allocation and initialization code out into
__rbd_osd_req_create().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
drivers/block/rbd.c