block/rbd - update variable names to more apt names
commit80b61a27c69c67492ce87ddd63ee497b5bc00e7e
authorJeff Cody <jcody@redhat.com>
Fri, 7 Apr 2017 20:55:31 +0000 (7 16:55 -0400)
committerJeff Cody <jcody@redhat.com>
Mon, 24 Apr 2017 19:09:33 +0000 (24 15:09 -0400)
tree15c5fef60b83c229431034d72113790c1225c31a
parent3d8ce171cb4a62b55727bc949e2e9427f77de6fb
block/rbd - update variable names to more apt names

Update 'clientname' to be 'user', which tracks better with both
the QAPI and rados variable naming.

Update 'name' to be 'image_name', as it indicates the rbd image.
Naming it 'image' would have been ideal, but we are using that for
the rados_image_t value returned by rbd_open().

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: b7ec1fb2e1cf36f9b6911631447a5b0422590b7d.1491597120.git.jcody@redhat.com
block/rbd.c