rbd: set offset and length outside of rbd_obj_request_create()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 25 Jan 2017 17:16:22 +0000 (18:16 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:14 +0000 (12:16 +0100)
commit67e2b65274e3c5fc9100544c1f90adcc85dbe597
tree97d2c9c3b9e05f6eef721da9ff8ac43fa719ee62
parent7e97332ea9caad3b7c6d86bc3b982e17eda2f736
rbd: set offset and length outside of rbd_obj_request_create()

The allocation doesn't depend on offset and length.  Both offset and
length can be changed after obj_request is allocated, too.

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