rbd: do not duplicate ceph_client pointer in rbd_device
authorAlex Elder <elder@dreamhost.com>
Tue, 24 Jan 2012 16:08:37 +0000 (10:08 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:47 +0000 (10:47 -0500)
commit1dbb439913f0fc0bc30d36411a4a3b3202c0aab1
tree7da9c0818f6ce8cff9068732fed25fd62d05ebd0
parentee57741c5209154b8ef124bcaa2496da1b69a988
rbd: do not duplicate ceph_client pointer in rbd_device

The rbd_device structure maintains a duplicate copy of the
ceph_client pointer maintained in its rbd_client structure.  There
appears to be no good reason for this, and its presence presents a
risk of them getting out of synch or otherwise misused.  So kill it
off, and use the rbd_client copy only.

Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c