Whamcloud - gitweb
liblustre: follow the libsysio changes
authorericm <ericm>
Sat, 1 Nov 2003 03:12:20 +0000 (03:12 +0000)
committerericm <ericm>
Sat, 1 Nov 2003 03:12:20 +0000 (03:12 +0000)
lustre/liblustre/genlib.sh
lustre/liblustre/namei.c
lustre/liblustre/test_common.c

index 264cedf..e80e28d 100755 (executable)
@@ -13,7 +13,7 @@ CWD=`pwd`
 
 LUS=$CWD/../
 PTL=$LUS/portals
-SYSIO=$LUS/../../libsysio
+SYSIO=$LUS/../libsysio
 
 TMP=/tmp/llib_tmp
 
index 8b6f4c7..cf2d827 100644 (file)
@@ -372,7 +372,7 @@ static int lookup_it_finish(struct ptlrpc_request *request, int offset,
                 if (rc)
                         RETURN(rc);
 
-                inode = llu_iget(parent->i_fs, (obd_id)md.body->ino, &md);
+                inode = llu_iget(parent->i_fs, &md);
                 if (!inode) {
                         /* free the lsm if we allocated one above */
                         if (md.lsm != NULL)
index f7b8d63..09f7de2 100644 (file)
@@ -5,11 +5,10 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <string.h>
+#include <errno.h>
 
 #include "test_common.h"
 
-extern int errno;
-
 int exit_on_err = 1;
 
 /******************************************************************