Whamcloud - gitweb
* llmount fix
authoreeb <eeb>
Wed, 30 Mar 2005 14:03:28 +0000 (14:03 +0000)
committereeb <eeb>
Wed, 30 Mar 2005 14:03:28 +0000 (14:03 +0000)
    - vibnal needs IP address as well as NID (assuming NID == IP
      could lead to ARP failures; e.g. bug 5858).

lustre/utils/llmount.c

index 363864c..d0f788c 100644 (file)
@@ -451,7 +451,6 @@ set_peer(char *hostname, struct lustre_mount_data *lmd)
                 return 1;
 
         case IIBNAL:
-        case VIBNAL:
                 if (lmd->lmd_server_nid != PTL_NID_ANY)
                         break;
                 if (ptl_parse_nid (&nid, hostname) != 0) {
@@ -465,6 +464,7 @@ set_peer(char *hostname, struct lustre_mount_data *lmd)
         case SOCKNAL:
         case TCPNAL:
         case OPENIBNAL:
+        case VIBNAL:
         case RANAL:
                 if (lmd->lmd_server_nid == PTL_NID_ANY) {
                         if (ptl_parse_nid (&nid, hostname) != 0) {