summary refs log tree commit diff
path: root/fs/ceph
diff options
context:
space:
mode:
authorAlex Elder <elder@dreamhost.com>2012-02-14 14:05:33 -0600
committerAlex Elder <elder@dreamhost.com>2012-03-22 10:47:51 -0500
commitd3002b974cefbb7c1e325cc296966f768ff76b06 (patch)
tree8685d72f6530959c4e19c4c9f3a12709ec1f4b08 /fs/ceph
parent41617d0c9c9832e030667277ddf6b4ffb4ecdc90 (diff)
downloadlinux-d3002b974cefbb7c1e325cc296966f768ff76b06.tar.gz
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 <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph')
0 files changed, 0 insertions, 0 deletions