From 39d4bf3057903a1774ae46743384a2ac986503b2 Mon Sep 17 00:00:00 2001 From: ericm Date: Sat, 1 Nov 2003 03:12:20 +0000 Subject: [PATCH] liblustre: follow the libsysio changes --- lustre/liblustre/genlib.sh | 2 +- lustre/liblustre/namei.c | 2 +- lustre/liblustre/test_common.c | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lustre/liblustre/genlib.sh b/lustre/liblustre/genlib.sh index 264cedf..e80e28d 100755 --- a/lustre/liblustre/genlib.sh +++ b/lustre/liblustre/genlib.sh @@ -13,7 +13,7 @@ CWD=`pwd` LUS=$CWD/../ PTL=$LUS/portals -SYSIO=$LUS/../../libsysio +SYSIO=$LUS/../libsysio TMP=/tmp/llib_tmp diff --git a/lustre/liblustre/namei.c b/lustre/liblustre/namei.c index 8b6f4c7..cf2d827 100644 --- a/lustre/liblustre/namei.c +++ b/lustre/liblustre/namei.c @@ -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) diff --git a/lustre/liblustre/test_common.c b/lustre/liblustre/test_common.c index f7b8d63..09f7de2 100644 --- a/lustre/liblustre/test_common.c +++ b/lustre/liblustre/test_common.c @@ -5,11 +5,10 @@ #include #include #include +#include #include "test_common.h" -extern int errno; - int exit_on_err = 1; /****************************************************************** -- 1.8.3.1