From: ericm Date: Thu, 16 Oct 2003 11:15:06 +0000 (+0000) Subject: minor lock_test script init fix. X-Git-Tag: v1_7_0_51~2^7~392 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=548eb2e380408da3049ce7162076a3abe92d1e6f;p=fs%2Flustre-release.git minor lock_test script init fix. --- diff --git a/lustre/liblustre/test_lock_cancel.c b/lustre/liblustre/test_lock_cancel.c index d9d4b57..6c18964 100644 --- a/lustre/liblustre/test_lock_cancel.c +++ b/lustre/liblustre/test_lock_cancel.c @@ -79,6 +79,8 @@ int main(int argc, char *argv[]) int fd; long time1, time2; + __liblustre_setup_(); + MPI_CHECK(MPI_Init(&argc, &argv), "MPI_Init()"); MPI_CHECK(MPI_Comm_size(MPI_COMM_WORLD, &numTasks), "MPI_Comm_size"); MPI_CHECK(MPI_Comm_rank(MPI_COMM_WORLD, &rank), "MPI_Comm_rank"); @@ -88,8 +90,6 @@ int main(int argc, char *argv[]) goto cleanup; } - __liblustre_setup_(); - #if 1 portal_debug = 0; portal_subsystem_debug = 0;