From: Alex Elder Date: Sun, 27 May 2012 04:26:43 +0000 (-0500) Subject: libceph: embed ceph connection structure in mon_client X-Git-Tag: v3.6-rc1~36^2~118 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67130934fb579fdf0f2f6d745960264378b57dc8;p=pandora-kernel.git libceph: embed ceph connection structure in mon_client A monitor client has a pointer to a ceph connection structure in it. This is the only one of the three ceph client types that do it this way; the OSD and MDS clients embed the connection into their main structures. There is always exactly one ceph connection for a monitor client, so there is no need to allocate it separate from the monitor client structure. So switch the ceph_mon_client structure to embed its ceph_connection structure. Signed-off-by: Alex Elder Reviewed-by: Sage Weil --- Reading git-diff-tree failed