]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: rectify the guard in RadosClient::wait_for_osdmap(). 3513/head
authorRadoslaw Zarzynski <rzarzynski@mirantis.com>
Thu, 29 Jan 2015 17:19:16 +0000 (18:19 +0100)
committerRadoslaw Zarzynski <rzarzynski@mirantis.com>
Sun, 1 Feb 2015 20:37:02 +0000 (21:37 +0100)
commit34473f78f101d87d2606e0e7112682a47ff24830
tree655565975b3225f9e1581ab125d574708a809ef4
parent624c056da093c8741242892413438a291c03c7d5
librados: rectify the guard in RadosClient::wait_for_osdmap().

RadosClient::wait_for_osdmap() did not signalize lack of connection
via -ENOTCONN error code when the Objecter instance was allocated.
The proper way is to check the connection state explicitly.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
src/librados/RadosClient.cc