Whamcloud - gitweb
Another not-yet-working-but-checking-in-not-to-lose-data landing of b_orphan.
authoradilger <adilger>
Fri, 2 May 2003 00:01:05 +0000 (00:01 +0000)
committeradilger <adilger>
Fri, 2 May 2003 00:01:05 +0000 (00:01 +0000)
Will do another merge with b_devel, but really dreading when b_proto lands...

lustre/utils/obdbarrier.c
lustre/utils/obdio.c
lustre/utils/obdiolib.c

index 4373071..8774cef 100644 (file)
@@ -214,9 +214,9 @@ main (int argc, char **argv)
                 }
         }
 
-        free (b);
+        free(b);
 
-        obdio_disconnect (conn);
+        obdio_disconnect(conn, 0);
 
         return (rc == 0 ? 0 : 1);
 }
index 8264761..24b9e2d 100644 (file)
@@ -294,10 +294,10 @@ main (int argc, char **argv)
         if (conn == NULL)
                 return (1);
 
-        rc = obdio_test_fixed_extent (conn, myhid, mypid, reps, locked,
-                                      oid, base_offset, size);
+        rc = obdio_test_fixed_extent(conn, myhid, mypid, reps, locked,
+                                     oid, base_offset, size);
 
-        obdio_disconnect (conn);
+        obdio_disconnect(conn, 0);
 
         return (rc == 0 ? 0 : 1);
 }
index 8c79c67..223bfa5 100644 (file)
@@ -118,7 +118,7 @@ obdio_connect (int device)
 }
 
 void
-obdio_disconnect (struct obdio_conn *conn)
+obdio_disconnect (struct obdio_conn *conn, int flags)
 {
         close (conn->oc_fd);
         /* obdclass will automatically close on last ref */