From: Alex Elder Date: Tue, 14 Feb 2012 20:05:33 +0000 (-0600) Subject: libceph: a few small changes X-Git-Tag: v3.4-rc1~76^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3002b974cefbb7c1e325cc296966f768ff76b06;p=pandora-kernel.git libceph: a few small changes This gathers a number of very minor changes: - use %hu when formatting the a socket address's address family - null out the ceph_msgr_wq pointer after the queue has been destroyed - drop a needless cast in ceph_write_space() - add a WARN() call in ceph_state_change() in the event an unrecognized socket state is encountered - rearrange the logic in ceph_con_get() and ceph_con_put() so that: - the reference counts are only atomically read once - the values displayed via dout() calls are known to be meaningful at the time they are formatted Signed-off-by: Alex Elder Signed-off-by: Sage Weil --- Reading git-diff-tree failed