Whamcloud - gitweb
b=2776
[fs/lustre-release.git] / lustre / obdclass / class_obd.c
index 83a6563..2d39a95 100644 (file)
@@ -294,10 +294,11 @@ int class_handle_ioctl(unsigned int cmd, unsigned long arg)
 
 
         case OBD_IOC_CLOSE_UUID: {
-                struct lustre_peer peer;
+                ptl_nid_t       peer_nid;
+                ptl_handle_ni_t peer_ni;
                 CDEBUG(D_IOCTL, "closing all connections to uuid %s\n",
                        data->ioc_inlbuf1);
-                lustre_uuid_to_peer(data->ioc_inlbuf1, &peer);
+                lustre_uuid_to_peer(data->ioc_inlbuf1, &peer_ni, &peer_nid);
                 GOTO(out, err = 0);
         }