Forgot to kill this when <StorageNode> was removed.

Signed-off-by: Pete Zaitcev <zait...@redhat.com>

---
 server/cldu.c |   23 -----------------------
 1 file changed, 23 deletions(-)

commit 8945b6d9da4efb3fc3f8bd33759c85ee57b148dd
Author: Pete Zaitcev <zait...@yahoo.com>
Date:   Thu Jul 29 19:24:17 2010 -0600

    StorageNode is gone, but this chunk was forgotten.

diff --git a/server/cldu.c b/server/cldu.c
index e247f45..5f3631b 100644
--- a/server/cldu.c
+++ b/server/cldu.c
@@ -351,29 +351,6 @@ static int cldu_set_cldc(struct cld_session *sp, int 
newactive)
 
        ncld_read_free(nrp);
 
-       /*
-        * If configuration gives us storage nodes, we shortcut scanning
-        * of CLD, because:
-        *  - the scanning may fail, and we should not care
-        *  - NIDs for configured nodes are auto-assigned and may conflict
-        * This will go away with the demise of <StorageNode>.
-        */
-       if (tabled_srv.num_stor) {
-               if (debugging)
-                       applog(LOG_DEBUG, "Trying to open %d storage nodes",
-                              tabled_srv.num_stor);
-               while (stor_update_cb() < 1) {
-                       tm.tv_sec = 3;
-                       tm.tv_nsec = 0;
-                       nanosleep(&tm, NULL);
-                       if (debugging)
-                               applog(LOG_DEBUG,
-                                      "Trying to reopen %d storage nodes",
-                                      tabled_srv.num_stor);
-               }
-               return 0;
-       }
-
        return 0;
 
 err_dread:
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to