From: Alex Elder Date: Fri, 10 Aug 2012 20:12:07 +0000 (-0700) Subject: rbd: move rbd_opts to struct rbd_device X-Git-Tag: v3.7-rc1~90^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8c3892911145db7cf895cc26f53ad73dd4e7b1f;p=pandora-kernel.git rbd: move rbd_opts to struct rbd_device The rbd options don't really apply to the ceph client. So don't store a pointer to it in the ceph_client structure, and put them (a struct, not a pointer) into the rbd_dev structure proper. Pass the rbd device structure to rbd_client_create() so it can assign rbd_dev->rbdc if successful, and have it return an error code instead of the rbd client pointer. Signed-off-by: Alex Elder Reviewed-by: Yehuda Sadeh --- Reading git-diff-tree failed