Whamcloud - gitweb
Minor fixups from struct obd_uuid change.
authoradilger <adilger>
Tue, 14 Jan 2003 21:19:56 +0000 (21:19 +0000)
committeradilger <adilger>
Tue, 14 Jan 2003 21:19:56 +0000 (21:19 +0000)
lustre/ptlbd/server.c

index 5141411..00c2376 100644 (file)
@@ -58,6 +58,7 @@ static int ptlbd_sv_setup(struct obd_device *obddev, obd_count len, void *buf)
         struct obd_ioctl_data* data = buf;
         struct obd_uuid server_uuid;
 #endif
+        struct obd_uuid self_uuid = { "self" };
         struct ptlbd_obd *ptlbd = &obddev->u.ptlbd;
         int rc;
         ENTRY;
@@ -80,7 +81,7 @@ static int ptlbd_sv_setup(struct obd_device *obddev, obd_count len, void *buf)
         ptlbd->ptlbd_service =
                 ptlrpc_init_svc(PTLBD_NEVENTS, PTLBD_NBUFS, PTLBD_BUFSIZE,
                                 PTLBD_MAXREQSIZE, PTLBD_REQUEST_PORTAL,
-                                PTLBD_REPLY_PORTAL, "self", 
+                                PTLBD_REPLY_PORTAL, &self_uuid,
                                 ptlbd_parse_req, "ptlbd_sv");
 
         if (!ptlbd->ptlbd_service) {