]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
monclient: send a single mount request
authorSage Weil <sage@newdream.net>
Mon, 21 Sep 2009 21:05:57 +0000 (14:05 -0700)
committerSage Weil <sage@newdream.net>
Mon, 21 Sep 2009 21:05:57 +0000 (14:05 -0700)
src/mon/MonClient.cc

index 89b727c53fc9e28f3150a99b99bbe0d5502560fe..798e80277c15703b7405ef04e48a5c726dae84d3 100644 (file)
@@ -250,7 +250,8 @@ int MonClient::mount(double mount_timeout)
   if (mounting == 1) {
     if (cur_mon < 0)
       _reopen_session();
-    _send_mount();
+    else
+      _send_mount();
   }
   while (clientid < 0 && !mount_err)
     mount_cond.Wait(monc_lock);